java.lang.Object
io.helidon.pico.api.AbstractElementInfo
- All Implemented Interfaces:
ElementInfo
- Direct Known Subclasses:
AbstractInjectionPointInfo,DefaultElementInfo
@Generated(value="io.helidon.builder.processor.tools.DefaultBuilderCreatorProvider",
comments="version=1")
public abstract class AbstractElementInfo
extends Object
implements ElementInfo
Abstract implementation w/ builder for
ElementInfo.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classAbstractElementInfo.Builder<B extends AbstractElementInfo.Builder<B,T>, T extends ElementInfo> Fluent API builder forT.Nested classes/interfaces inherited from interface io.helidon.pico.api.ElementInfo
ElementInfo.Access, ElementInfo.ElementKind -
Field Summary
Fields inherited from interface io.helidon.pico.api.ElementInfo
CONSTRUCTOR -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor using the builder argument. -
Method Summary
Modifier and TypeMethodDescriptionThe map of meta attributes describing each element of this type.access()The access modifier on the injection point/receiver.The annotations on this element.If the element is a method or constructor then this is the total argument count for that method.The injection point/receiver kind.The element name (e.g., method name or field name).If the element is a method or constructor then this is the ordinal argument position of that argument.The element type name (e.g., method type or field type).booleaninthashCode()The qualifier type annotations on this element.The enclosing class name for the element.booleanTrue if the injection point is static.toString()protected StringProduces the inner portion of the toString() output (i.e., what is between the parens).<T> voidvisitAttributes(AttributeVisitor<T> visitor, T userDefinedCtx) Visits all attributes of io.helidon.pico.api.ElementInfo, calling theAttributeVisitorfor each.
-
Constructor Details
-
AbstractElementInfo
Constructor using the builder argument.- Parameters:
b- the builder
-
-
Method Details
-
elementKind
Description copied from interface:ElementInfoThe injection point/receiver kind.- Specified by:
elementKindin interfaceElementInfo- Returns:
- the kind
-
access
Description copied from interface:ElementInfoThe access modifier on the injection point/receiver.- Specified by:
accessin interfaceElementInfo- Returns:
- the access
-
elementTypeName
Description copied from interface:ElementInfoThe element type name (e.g., method type or field type).- Specified by:
elementTypeNamein interfaceElementInfo- Returns:
- the target receiver type name
-
elementName
Description copied from interface:ElementInfoThe element name (e.g., method name or field name).- Specified by:
elementNamein interfaceElementInfo- Returns:
- the target receiver name
-
elementOffset
Description copied from interface:ElementInfoIf the element is a method or constructor then this is the ordinal argument position of that argument.- Specified by:
elementOffsetin interfaceElementInfo- Returns:
- the offset argument, 0 based, or empty if field type
-
elementArgs
Description copied from interface:ElementInfoIf the element is a method or constructor then this is the total argument count for that method.- Specified by:
elementArgsin interfaceElementInfo- Returns:
- total argument count
-
staticDeclaration
public boolean staticDeclaration()Description copied from interface:ElementInfoTrue if the injection point is static.- Specified by:
staticDeclarationin interfaceElementInfo- Returns:
- true if static receiver
-
serviceTypeName
Description copied from interface:ElementInfoThe enclosing class name for the element.- Specified by:
serviceTypeNamein interfaceElementInfo- Returns:
- service type name
-
annotations
Description copied from interface:ElementInfoThe annotations on this element.- Specified by:
annotationsin interfaceElementInfo- Returns:
- the annotations on this element
-
qualifiers
Description copied from interface:ElementInfoThe qualifier type annotations on this element.- Specified by:
qualifiersin interfaceElementInfo- Returns:
- the qualifier type annotations on this element
-
__metaAttributes
The map of meta attributes describing each element of this type.- Returns:
- the map of meta attributes using the key being the attribute name
-
toString
-
toStringInner
Produces the inner portion of the toString() output (i.e., what is between the parens).- Returns:
- portion of the toString output
-
hashCode
public int hashCode() -
equals
-
visitAttributes
Visits all attributes of io.helidon.pico.api.ElementInfo, calling theAttributeVisitorfor each.- Type Parameters:
T- type of the user defined context- Parameters:
visitor- the visitor called for each attributeuserDefinedCtx- any object you wish to pass to each visit call
-