Package io.helidon.builder.processor.spi
Class DefaultTypeAndBody
java.lang.Object
io.helidon.builder.processor.spi.DefaultTypeAndBody
- All Implemented Interfaces:
TypeAndBody
The default implementation of
TypeAndBody.-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor that uses the builder. -
Method Summary
Modifier and TypeMethodDescriptionbody()The body for the source to be generated.static DefaultTypeAndBody.Builderbuilder()Creates a new builder for this type.toString()protected StringReturns the inner portion of thetoString().typeName()The type name for the source to be generated.
-
Constructor Details
-
DefaultTypeAndBody
Constructor that uses the builder.- Parameters:
b- the builder- See Also:
-
-
Method Details
-
typeName
Description copied from interface:TypeAndBodyThe type name for the source to be generated.- Specified by:
typeNamein interfaceTypeAndBody- Returns:
- The type name for the source to be generated
-
body
Description copied from interface:TypeAndBodyThe body for the source to be generated.- Specified by:
bodyin interfaceTypeAndBody- Returns:
- The body for the source to be generated
-
toString
-
toStringInner
Returns the inner portion of thetoString().- Returns:
- the inner part of the toString() output
-
builder
Creates a new builder for this type.- Returns:
- the fluent builder
-