Class Annotation.BuilderBase.AnnotationImpl
java.lang.Object
io.helidon.common.types.Annotation.BuilderBase.AnnotationImpl
- All Implemented Interfaces:
Prototype.Api, Annotation, Comparable<Annotation>
- Direct Known Subclasses:
Qualifier.BuilderBase.QualifierImpl
- Enclosing class:
Annotation.BuilderBase<BUILDER extends Annotation.BuilderBase<BUILDER, PROTOTYPE>, PROTOTYPE extends Annotation>
Generated implementation of the prototype, can be extended by descendant prototype implementations.
-
Nested Class Summary
Nested classes/interfaces inherited from interface Annotation
Annotation.Builder, Annotation.BuilderBase<BUILDER, PROTOTYPE>Modifier and TypeInterfaceDescriptionstatic classFluent API builder forAnnotation.static classAnnotation.BuilderBase<BUILDER extends Annotation.BuilderBase<BUILDER, PROTOTYPE>, PROTOTYPE extends Annotation>Fluent API builder base forAnnotation. -
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAnnotationImpl(Annotation.BuilderBase<?, ?> builder) Create an instance providing a builder. -
Method Summary
Methods inherited from interface Annotation
annotationValue, annotationValue, annotationValues, annotationValues, booleanValue, booleanValue, booleanValues, booleanValues, byteValue, byteValue, byteValues, byteValues, charValue, charValue, charValues, charValues, classValue, classValue, classValues, classValues, compareTo, doubleValue, doubleValue, doubleValues, doubleValues, enumValue, enumValue, enumValues, enumValues, floatValue, floatValue, floatValues, floatValues, getValue, hasMetaAnnotation, intValue, intValue, intValues, intValues, longValue, longValue, longValues, longValues, objectValue, objectValue, property, property, shortValue, shortValue, shortValues, shortValues, stringValue, stringValue, stringValues, stringValues, typeValue, typeValue, typeValues, typeValues, valueModifier and TypeMethodDescriptiondefault Optional<Annotation> Typed value of the property "value".default Optional<Annotation> annotationValue(String property) Typed value of a named property.default Optional<List<Annotation>> Typed value of the property "value" that is defined as an array.default Optional<List<Annotation>> annotationValues(String property) Typed values of a property that is defined as an array.Typed value of the property "value".booleanValue(String property) Typed value of a named property.Typed value of the property "value" that is defined as an array.booleanValues(String property) Typed values of a property that is defined as an array.Typed value of the property "value".Typed value of a named property.Typed value of the property "value" that is defined as an array.byteValues(String property) Typed values of a property that is defined as an array.Typed value of the property "value".Typed value of a named property.Typed value of the property "value" that is defined as an array.charValues(String property) Typed values of a property that is defined as an array.Typed value of the property "value".classValue(String property) Typed value of a named property.Typed value of the property "value" that is defined as an array.classValues(String property) Typed values of a property that is defined as an array.default intTyped value of the property "value".doubleValue(String property) Typed value of a named property.Typed value of the property "value" that is defined as an array.doubleValues(String property) Typed values of a property that is defined as an array.Typed value of the property "value".Typed value of a named property.enumValues(Class<T> type) Typed value of the property "value" that is defined as an array.enumValues(String property, Class<T> type) Typed values of a property that is defined as an array.Typed value of the property "value".floatValue(String property) Typed value of a named property.Typed value of the property "value" that is defined as an array.floatValues(String property) Typed values of a property that is defined as an array.Get a value of an annotation property.default booleanhasMetaAnnotation(TypeName annotationType) Check ifAnnotation.metaAnnotations()contains an annotation of the provided type.intValue()Typed value of the property "value".Typed value of a named property.Typed value of the property "value" that is defined as an array.Typed values of a property that is defined as an array.Typed value of the property "value".Typed value of a named property.Typed value of the property "value" that is defined as an array.longValues(String property) Typed values of a property that is defined as an array.Value of the annotation as an object.objectValue(String property) Value of the annotation property as an object.default Optional<AnnotationProperty> property()Annotation property for the "value" property.default Optional<AnnotationProperty> Annotation property for the defined name.Typed value of the property "value".shortValue(String property) Typed value of a named property.Typed value of the property "value" that is defined as an array.shortValues(String property) Typed values of a property that is defined as an array.Typed value of the property "value".stringValue(String property) Typed value of a named property.Typed value of the property "value" that is defined as an array.stringValues(String property) Typed values of a property that is defined as an array.Typed value of the property "value".Typed value of a named property.Typed value of the property "value" that is defined as an array.typeValues(String property) Typed values of a property that is defined as an array.value()The value property.
-
Field Details
-
VALUE_PROPERTY
-
-
Constructor Details
-
AnnotationImpl
Create an instance providing a builder.- Parameters:
builder- extending builder base of this prototype
-
-
Method Details
-
typeName
Description copied from interface:AnnotationThe type name, e.g.,Objects-> "java.util.Objects".- Specified by:
typeNamein interfaceAnnotation- Returns:
- the annotation type name
-
properties
Description copied from interface:AnnotationProperties defined on this annotation.- Specified by:
propertiesin interfaceAnnotation- Returns:
- properties
-
metaAnnotations
Description copied from interface:AnnotationA list of inherited annotations (from the whole hierarchy).- Specified by:
metaAnnotationsin interfaceAnnotation- Returns:
- list of all annotations declared on the annotation type, or inherited from them
-
originatingElement
Description copied from interface:AnnotationThe element used to create this instance. The type of the object depends on the environment.- Specified by:
originatingElementin interfaceAnnotation- Returns:
- originating element
-
toString
-
equals
-
hashCode
-