Class BeforeInvokeProcessor
java.lang.Object
overrun.marshal.gen.processor.CodeInserter<BeforeInvokeProcessor.Context>
overrun.marshal.gen.processor.BeforeInvokeProcessor
- All Implemented Interfaces:
Processor<CodeInserter<BeforeInvokeProcessor.Context>>
BeforeInvokeProcessor
relies on preview features of the Java platform:
BeforeInvokeProcessor
refers to one or more preview APIs:CodeBuilder
.
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
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic BeforeInvokeProcessor
Returns the instance.void
process
(CodeBuilderPREVIEW builder, BeforeInvokeProcessor.Context context) Sequentially runs all alternative processors.Methods inherited from class overrun.marshal.gen.processor.CodeInserter
addProcessor
-
Method Details
-
process
Description copied from class:CodeInserter
Sequentially runs all alternative processors.- Overrides:
process
in classCodeInserter<BeforeInvokeProcessor.Context>
- Parameters:
builder
- the code buildercontext
- the context
-
getInstance
-
BeforeInvokeProcessor
when preview features are enabled.