Module io.helidon.common.types
Package io.helidon.common.types
Class TypedElementInfo.BuilderBase.TypedElementInfoImpl
java.lang.Object
io.helidon.common.types.TypedElementInfo.BuilderBase.TypedElementInfoImpl
- All Implemented Interfaces:
Prototype.Api,Annotated,TypedElementInfo
- Enclosing class:
TypedElementInfo.BuilderBase<BUILDER extends TypedElementInfo.BuilderBase<BUILDER,PROTOTYPE>, PROTOTYPE extends TypedElementInfo>
protected static class TypedElementInfo.BuilderBase.TypedElementInfoImpl
extends Object
implements TypedElementInfo
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.TypedElementInfo
TypedElementInfo.Builder, TypedElementInfo.BuilderBase<BUILDER extends TypedElementInfo.BuilderBase<BUILDER,PROTOTYPE>, PROTOTYPE extends TypedElementInfo> -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedTypedElementInfoImpl(TypedElementInfo.BuilderBase<?, ?> builder) Create an instance providing a builder. -
Method Summary
Modifier and TypeMethodDescriptionList of declared and known annotations for this element.booleaninthashCode()List of all inherited annotations for this element.kind()default ObjectThe element used to create this instance, orTypedElementInfoBlueprint.signature()if none provided.Provides a description for this instance.toString()typeName()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, hasAnnotation
-
Constructor Details
-
TypedElementInfoImpl
Create an instance providing a builder.- Parameters:
builder- extending builder base of this prototype
-
-
Method Details
-
toString
-
toDeclaration
Description copied from interface:TypedElementInfoProvides a description for this instance.- Specified by:
toDeclarationin interfaceTypedElementInfo- Returns:
- provides the {typeName}{space}{elementName}
-
description
-
typeName
-
elementName
-
elementTypeKind
-
kind
-
defaultValue
-
elementTypeAnnotations
-
componentTypes
-
modifiers
-
elementModifiers
-
accessModifier
-
enclosingType
-
parameterArguments
-
throwsChecked
-
originatingElement
-
signature
-
typeParameters
-
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
-
equals
-
hashCode
public int hashCode() -
originatingElementValue
The element used to create this instance, orTypedElementInfoBlueprint.signature()if none provided. The type of the object depends on the environment we are in - it may be anTypeElementin annotation processing, or aMethodInfo(and such) when using classpath scanning.- Returns:
- originating element, or the signature of this element
-