Interface BodyCreator
- All Known Subinterfaces:
CaseCreator, ConstructorCreator, InstanceBodyCreator, InstanceExecutableCreator, InstanceMethodCreator, LambdaCreator, StaticExecutableCreator, StaticMethodCreator, TryCreator
public sealed interface BodyCreator
permits CaseCreator, InstanceBodyCreator, LambdaCreator, StaticExecutableCreator, TryCreator
A creator that has a body.
-
Method Summary
Modifier and TypeMethodDescriptionvoidbody(Consumer<BlockCreator> builder) Build the body of this executable code.
-
Method Details
-
body
Build the body of this executable code.- Parameters:
builder- the builder (must not benull)
-