- All Superinterfaces:
Annotation,Comparable<Annotation>,Prototype.Api
- All Known Implementing Classes:
Qualifier.BuilderBase.QualifierImpl
Represents a qualifier annotation (a specific case of annotations, annotated with
Qualifier.- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classFluent API builder forQualifier.static classQualifier.BuilderBase<BUILDER extends Qualifier.BuilderBase<BUILDER,PROTOTYPE>, PROTOTYPE extends Qualifier> Fluent API builder base forQualifier. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final TypeNameThe type name forClassNamed.static final String -
Method Summary
Modifier and TypeMethodDescriptiondefault Optional<Annotation> default Optional<Annotation> annotationValue(String arg0) default Optional<List<Annotation>> default Optional<List<Annotation>> annotationValues(String arg0) booleanValue(String arg0) booleanValues(String arg0) static Qualifier.Builderbuilder()Create a new fluent API builder to customize configuration.static Qualifier.BuilderCreate a new fluent API builder from an existing instance.byteValues(String arg0) charValues(String arg0) classValue(String arg0) classValues(String arg0) static Qualifiercreate()Create a new instance with default values.static Qualifiercreate(Annotation annotation) Creates a qualifier from an annotation.static Qualifiercreate(Class<? extends Annotation> qualifierType) Creates a qualifier from an annotation.static Qualifiercreate(Class<? extends Annotation> qualifierType, String value) Creates a qualifier with a value from an annotation.static QualifiercreateNamed(ClassNamed name) Creates aNamedqualifier.static QualifiercreateNamed(Named name) Creates aNamedqualifier.static QualifiercreateNamed(Class<?> className) Creates aNamedqualifier from a class name.static QualifiercreateNamed(String name) Creates aNamedqualifier.doubleValue(String arg0) doubleValues(String arg0) enumValues(Class<T> arg0) enumValues(String arg0, Class<T> arg1) floatValue(String arg0) floatValues(String arg0) intValue()longValues(String arg0) objectValue(String arg0) default StringThe qualifier annotation type name.shortValue(String arg0) shortValues(String arg0) stringValue(String arg0) stringValues(String arg0) typeName()typeValues(String arg0) value()values()Methods inherited from interface java.lang.Comparable
compareTo
-
Field Details
-
CLASS_NAMED
The type name forClassNamed. -
VALUE_PROPERTY
- See Also:
-
-
Method Details
-
builder
Create a new fluent API builder to customize configuration.- Returns:
- a new builder
-
builder
Create a new fluent API builder from an existing instance.- Parameters:
instance- an existing instance used as a base for the builder- Returns:
- a builder based on an instance
-
create
Create a new instance with default values.- Returns:
- a new instance
-
create
Creates a qualifier from an annotation.- Parameters:
qualifierType- the qualifier type- Returns:
- qualifier
-
create
Creates a qualifier with a value from an annotation.- Parameters:
qualifierType- the qualifier typevalue- the value property- Returns:
- qualifier
-
create
Creates a qualifier from an annotation.- Parameters:
annotation- the qualifier annotation- Returns:
- qualifier
-
createNamed
Creates aNamedqualifier.- Parameters:
name- the name- Returns:
- named qualifier
-
createNamed
Creates aNamedqualifier.- Parameters:
name- the name- Returns:
- named qualifier
-
createNamed
Creates aNamedqualifier.- Parameters:
name- the name- Returns:
- named qualifier
-
createNamed
Creates aNamedqualifier from a class name.- Parameters:
className- class whose name will be used- Returns:
- named qualifier
-
qualifierTypeName
The qualifier annotation type name.- Returns:
- the qualifier/annotation type name
-
typeName
TypeName typeName() -
values
-
value
-
getValue
-
objectValue
-
objectValue
-
stringValue
-
stringValue
-
stringValues
-
stringValues
-
intValue
-
intValue
-
intValues
-
intValues
-
longValue
-
longValue
-
longValues
-
longValues
-
booleanValue
-
booleanValue
-
booleanValues
-
booleanValues
-
byteValue
-
byteValue
-
byteValues
-
byteValues
-
charValue
-
charValue
-
charValues
-
charValues
-
shortValue
-
shortValue
-
shortValues
-
shortValues
-
floatValue
-
floatValue
-
floatValues
-
floatValues
-
doubleValue
-
doubleValue
-
doubleValues
-
doubleValues
-
classValue
-
classValue
-
classValues
-
classValues
-
typeValue
-
typeValue
-
typeValues
-
typeValues
-
annotationValue
-
annotationValue
-
annotationValues
-
annotationValues
-
enumValue
-
enumValue
-
enumValues
-
enumValues
-