java.lang.Object
io.helidon.common.types.DefaultTypedElementName
- All Implemented Interfaces:
TypedElementName
Default implementation for
TypedElementName.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classThe fluent builder. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor taking the fluent builder. -
Method Summary
Modifier and TypeMethodDescriptionThe list of known annotations for this element.builder()Creates a builder forTypedElementName.Returns the component type names describing the element.The default value assigned to the element, represented as a string.The element (e.g., method, field, etc) name.The list of known annotations on the type name referenced byTypedElementName.typeName().The kind of element (e.g., method, field, etc).booleaninthashCode()Element modifiers.Provides a description for this instance.toString()typeName()The type name for the element (e.g., java.util.List).
-
Constructor Details
-
DefaultTypedElementName
Constructor taking the fluent builder.- Parameters:
b- the builder- See Also:
-
-
Method Details
-
typeName
Description copied from interface:TypedElementNameThe type name for the element (e.g., java.util.List). If the element is a method, then this is the return type of the method.- Specified by:
typeNamein interfaceTypedElementName- Returns:
- the type name of the element
-
elementName
Description copied from interface:TypedElementNameThe element (e.g., method, field, etc) name.- Specified by:
elementNamein interfaceTypedElementName- Returns:
- the name of the element
-
elementTypeKind
Description copied from interface:TypedElementNameThe kind of element (e.g., method, field, etc).- Specified by:
elementTypeKindin interfaceTypedElementName- Returns:
- the element kind
- See Also:
-
defaultValue
Description copied from interface:TypedElementNameThe default value assigned to the element, represented as a string.- Specified by:
defaultValuein interfaceTypedElementName- Returns:
- the default value as a string
-
annotations
Description copied from interface:TypedElementNameThe list of known annotations for this element. Note that "known" implies that the annotation is visible, which depends upon the context in which it was build.- Specified by:
annotationsin interfaceTypedElementName- Returns:
- the list of annotations on this element
-
elementTypeAnnotations
Description copied from interface:TypedElementNameThe list of known annotations on the type name referenced byTypedElementName.typeName().- Specified by:
elementTypeAnnotationsin interfaceTypedElementName- Returns:
- the list of annotations on this element's (return) type.
-
componentTypeNames
Description copied from interface:TypedElementNameReturns the component type names describing the element.- Specified by:
componentTypeNamesin interfaceTypedElementName- Returns:
- the component type names of the element
-
modifierNames
Description copied from interface:TypedElementNameElement modifiers.- Specified by:
modifierNamesin interfaceTypedElementName- Returns:
- element modifiers
- See Also:
-
hashCode
public int hashCode() -
equals
-
toString
-
toDeclaration
Provides a description for this instance.- Returns:
- provides the {typeName}{space}{elementName}
-
builder
Creates a builder forTypedElementName.- Returns:
- a fluent builder
-