- All Superinterfaces:
BodyCreator,CapturingCreator
A creator for a lambda instance.
-
Method Summary
Methods inherited from interface io.quarkus.gizmo2.creator.CapturingCreator
capture, capture
-
Method Details
-
type
ClassDesc type()Returns the descriptor of the lambda functional interface.- Returns:
- the descriptor of the lambda functional interface
-
parameter
Access a parameter of the functional interface method declaration.- Parameters:
name- the name to assign to the parameter (must not benull)position- the parameter position, starting from 0- Returns:
- the parameter's variable (not
null)
-
body
Build the body of the lambda.- Specified by:
bodyin interfaceBodyCreator- Parameters:
builder- the builder for the lambda body (must not benull)
-