Class BeforeInvokeProcessor

All Implemented Interfaces:
Processor<CodeInserter<BeforeInvokeProcessor.Context>>

public final class BeforeInvokeProcessor extends CodeInserter<BeforeInvokeProcessor.Context>
BeforeInvokeProcessor relies on preview features of the Java platform:
  • BeforeInvokeProcessor refers to one or more preview APIs: CodeBuilder.
Programs can only use BeforeInvokeProcessor when preview features are enabled.
Preview features may be removed in a future release, or upgraded to permanent features of the Java platform.
Insert codes before invoking the downcall handle.

The default operation transforms @Ref annotated arrays with MarshalProcessor.

Since:
0.1.0
Author:
squid233