Package io.helidon.builder.processor.spi
Class DefaultTypeInfo
java.lang.Object
io.helidon.builder.processor.spi.DefaultTypeInfo
- All Implemented Interfaces:
TypeInfo
Default implementation for
TypeInfo.-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDefault constructor taking the builder as an argument. -
Method Summary
Modifier and TypeMethodDescriptionThe annotations on the type.static DefaultTypeInfo.Builderbuilder()Creates a new builder for this type.The elements that make up the type that are relevant for processing.The elements that make up this type that are considered "other", or being skipped because they are irrelevant to processing.The parent/super class for this type info.toString()protected StringCalculates the inner portion of thetoString()result.typeKind()The type element kind.typeName()The type name.
-
Constructor Details
-
DefaultTypeInfo
Default constructor taking the builder as an argument.- Parameters:
b- the builder- See Also:
-
-
Method Details
-
builder
Creates a new builder for this type.- Returns:
- the fluent builder
-
typeName
Description copied from interface:TypeInfoThe type name. -
typeKind
Description copied from interface:TypeInfoThe type element kind. -
annotations
Description copied from interface:TypeInfoThe annotations on the type.- Specified by:
annotationsin interfaceTypeInfo- Returns:
- the annotations on the type
-
elementInfo
Description copied from interface:TypeInfoThe elements that make up the type that are relevant for processing.- Specified by:
elementInfoin interfaceTypeInfo- Returns:
- the elements that make up the type that are relevant for processing
-
otherElementInfo
Description copied from interface:TypeInfoThe elements that make up this type that are considered "other", or being skipped because they are irrelevant to processing.- Specified by:
otherElementInfoin interfaceTypeInfo- Returns:
- the elements that still make up the type, but are otherwise deemed irrelevant for processing
-
superTypeInfo
Description copied from interface:TypeInfoThe parent/super class for this type info.- Specified by:
superTypeInfoin interfaceTypeInfo- Returns:
- the super type.
-
toString
-
toStringInner
Calculates the inner portion of thetoString()result.- Returns:
- the inner portion of the toString result
-