Module io.helidon.common.types
Package io.helidon.common.types
Class TypeInfo.BuilderBase.TypeInfoImpl
java.lang.Object
io.helidon.common.types.TypeInfo.BuilderBase.TypeInfoImpl
- All Implemented Interfaces:
Prototype.Api,Annotated,TypeInfo
- Enclosing class:
TypeInfo.BuilderBase<BUILDER extends TypeInfo.BuilderBase<BUILDER,PROTOTYPE>, PROTOTYPE extends TypeInfo>
Generated implementation of the prototype, can be extended by descendant prototype implementations.
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.helidon.common.types.TypeInfo
TypeInfo.Builder, TypeInfo.BuilderBase<BUILDER extends TypeInfo.BuilderBase<BUILDER,PROTOTYPE>, PROTOTYPE extends TypeInfo> -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedTypeInfoImpl(TypeInfo.BuilderBase<?, ?> builder) Create an instance providing a builder. -
Method Summary
Modifier and TypeMethodDescriptionAccess modifier.List of declared and known annotations for this element.The declared type name, including type parameters.Description, such as javadoc, if available.The elements that make up the type that are relevant for processing.Type modifiers.booleaninthashCode()List of all inherited annotations for this element.The interface classes for this type info.kind()The kind of this type.Deprecated, for removal: This API element is subject to removal in a future version.module()Module of this type, if available.The element used to create this instance.The elements that make up this type that are considered "other", or being skipped because they are irrelevant to processing.rawType()The raw type name.Populated if the (external) module name containing the type is known.Any Map, List, Set, or method that hasTypeName.typeArguments()will be analyzed and any type arguments will have its annotations added here.The parent/super class for this type info.toString()typeKind()Deprecated, for removal: This API element is subject to removal in a future version.typeName()The type name.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface io.helidon.common.types.Annotated
allAnnotations, annotation, findAnnotation, hasAnnotationMethods inherited from interface io.helidon.common.types.TypeInfo
findInHierarchy, hasMetaAnnotation, hasMetaAnnotation, metaAnnotation, metaAnnotation, moduleNameOf, originatingElementValue
-
Constructor Details
-
TypeInfoImpl
Create an instance providing a builder.- Parameters:
builder- extending builder base of this prototype
-
-
Method Details
-
typeName
Description copied from interface:TypeInfoThe type name. This type name represents the type usage of this type (obtained fromTypeInfo.superTypeInfo()orTypeInfo.interfaceTypeInfo()). In case this is a type info created fromTypeName, this will be the type name returned. -
rawType
Description copied from interface:TypeInfoThe raw type name. This is a unique identification of a type, containing ONLY: -
declaredType
Description copied from interface:TypeInfoThe declared type name, including type parameters.- Specified by:
declaredTypein interfaceTypeInfo- Returns:
- type name with declared type parameters
-
description
Description copied from interface:TypeInfoDescription, such as javadoc, if available.- Specified by:
descriptionin interfaceTypeInfo- Returns:
- description of this element
-
typeKind
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:TypeInfoThe type element kind.Such as
- "INTERFACE"
- "ANNOTATION_TYPE"
- and other constants on
TypeValues
-
kind
Description copied from interface:TypeInfoThe kind of this type.Such as:
-
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
-
referencedTypeNamesToAnnotations
Description copied from interface:TypeInfoAny Map, List, Set, or method that hasTypeName.typeArguments()will be analyzed and any type arguments will have its annotations added here. Note that this only applies to non-built-in types.- Specified by:
referencedTypeNamesToAnnotationsin interfaceTypeInfo- Returns:
- all referenced types
-
referencedModuleNames
Description copied from interface:TypeInfoPopulated if the (external) module name containing the type is known.- Specified by:
referencedModuleNamesin interfaceTypeInfo- Returns:
- type names to its associated defining module name
-
superTypeInfo
Description copied from interface:TypeInfoThe parent/super class for this type info.- Specified by:
superTypeInfoin interfaceTypeInfo- Returns:
- the super type
-
interfaceTypeInfo
Description copied from interface:TypeInfoThe interface classes for this type info.- Specified by:
interfaceTypeInfoin interfaceTypeInfo- Returns:
- the interface type info
-
modifiers
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:TypeInfoElement modifiers. -
elementModifiers
Description copied from interface:TypeInfoType modifiers.- Specified by:
elementModifiersin interfaceTypeInfo- Returns:
- set of modifiers that are present on the type (and that we understand)
- See Also:
-
accessModifier
Description copied from interface:TypeInfoAccess modifier.- Specified by:
accessModifierin interfaceTypeInfo- Returns:
- access modifier
-
module
Description copied from interface:TypeInfoModule of this type, if available. -
originatingElement
Description copied from interface:TypeInfoThe element used to create this instance. The type of the object depends on the environment we are in - it may be anTypeElementin annotation processing, or aClassInfowhen using classpath scanning.- Specified by:
originatingElementin interfaceTypeInfo- Returns:
- originating element
-
annotations
Description copied from interface:AnnotatedList of declared and known annotations for this element. Note that "known" implies that the annotation is visible, which depends upon the context in which it was build (such as theof the annotation).- Specified by:
annotationsin interfaceAnnotated- Returns:
- the list of annotations declared on this element
-
inheritedAnnotations
Description copied from interface:AnnotatedList of all inherited annotations for this element. Inherited annotations are annotations declared on annotations of this element that are also marked asInherited.The returned list does not contain
Annotated.annotations(). If a meta-annotation is present on multiple annotations, it will be returned once for each such declaration.This method does not return annotations on super types or interfaces!
- Specified by:
inheritedAnnotationsin interfaceAnnotated- Returns:
- list of all meta annotations of this element
-
toString
-
equals
-
hashCode
public int hashCode()
-