Uses of Class
org.jboss.jandex.AnnotationInstance
-
-
Uses of AnnotationInstance in org.jboss.jandex
Methods in org.jboss.jandex that return AnnotationInstance Modifier and Type Method Description AnnotationInstance
FieldInfo. annotation(DotName name)
Retrieves an annotation instance declared on this field.AnnotationInstance
MethodInfo. annotation(DotName name)
Retrieves an annotation instance declared on this method, it parameters, or any type within the signature of the method, by the name of the annotation.AnnotationInstance
ModuleInfo. annotation(DotName name)
AnnotationInstance
RecordComponentInfo. annotation(DotName name)
Retrieves an annotation instance declared on this field.AnnotationInstance
Type. annotation(DotName name)
AnnotationInstance
AnnotationValue. asNested()
Returns a nested annotation represented by this value.AnnotationInstance[]
AnnotationValue. asNestedArray()
Returns an array of nested annotations representing the underlying annotation array value.AnnotationInstance
ClassInfo. classAnnotation(DotName name)
Returns the annotation with the specified name directly declared on this class.static AnnotationInstance
AnnotationInstance. create(DotName name, AnnotationTarget target, List<AnnotationValue> values)
Construct a new mock annotation instance.static AnnotationInstance
AnnotationInstance. create(DotName name, AnnotationTarget target, AnnotationValue[] values)
Construct a new mock annotation instance.Methods in org.jboss.jandex that return types with arguments of type AnnotationInstance Modifier and Type Method Description Map<DotName,List<AnnotationInstance>>
ClassInfo. annotations()
Returns a map indexed by annotation name, with a value list of annotation instances.List<AnnotationInstance>
FieldInfo. annotations()
Returns the list of annotation instances declared on this field.List<AnnotationInstance>
MethodInfo. annotations()
Returns the annotation instances declared on this method.List<AnnotationInstance>
MethodInfo. annotations(DotName name)
Retrieves annotations declared on this method, by the name of the annotation.Collection<AnnotationInstance>
ModuleInfo. annotations()
List<AnnotationInstance>
RecordComponentInfo. annotations()
Returns the list of annotation instances declared on this record component.List<AnnotationInstance>
Type. annotations()
Returns the list of annotations declared on this type's usage.List<AnnotationInstance>
FieldInfo. annotationsWithRepeatable(DotName name, IndexView index)
Retrieves annotation instances declared on this field, by the name of the annotation.List<AnnotationInstance>
MethodInfo. annotationsWithRepeatable(DotName name, IndexView index)
Retrieves annotations declared on this method, by the name of the annotation.List<AnnotationInstance>
ModuleInfo. annotationsWithRepeatable(DotName name, IndexView index)
List<AnnotationInstance>
RecordComponentInfo. annotationsWithRepeatable(DotName name, IndexView index)
Retrieves annotation instances declared on this field, by the name of the annotation.Collection<AnnotationInstance>
ClassInfo. classAnnotations()
Returns a list of all annotations directly declared on this class.List<AnnotationInstance>
ClassInfo. classAnnotationsWithRepeatable(DotName name, IndexView index)
Retrieves annotation instances declared on this class, by the name of the annotation.List<AnnotationInstance>
CompositeIndex. getAnnotations(DotName annotationName)
Obtains a list of instances for the specified annotation.List<AnnotationInstance>
Index. getAnnotations(DotName annotationName)
Obtains a list of instances for the specified annotation.Collection<AnnotationInstance>
IndexView. getAnnotations(DotName annotationName)
Obtains a list of instances for the specified annotation.Collection<AnnotationInstance>
CompositeIndex. getAnnotationsWithRepeatable(DotName annotationName, IndexView index)
Obtains a list of instances for the specified annotation.Collection<AnnotationInstance>
Index. getAnnotationsWithRepeatable(DotName annotationName, IndexView index)
Obtains a list of instances for the specified annotation.Collection<AnnotationInstance>
IndexView. getAnnotationsWithRepeatable(DotName annotationName, IndexView index)
Obtains a list of instances for the specified annotation.Methods in org.jboss.jandex with parameters of type AnnotationInstance Modifier and Type Method Description static AnnotationValue
AnnotationValue. createNestedAnnotationValue(String name, AnnotationInstance instance)
Method parameters in org.jboss.jandex with type arguments of type AnnotationInstance Modifier and Type Method Description static ClassInfo
ClassInfo. create(DotName name, DotName superName, short flags, DotName[] interfaces, Map<DotName,List<AnnotationInstance>> annotations, boolean hasNoArgsConstructor)
Deprecated.static Index
Index. create(Map<DotName,List<AnnotationInstance>> annotations, Map<DotName,List<ClassInfo>> subclasses, Map<DotName,List<ClassInfo>> implementors, Map<DotName,ClassInfo> classes)
Constructs a "mock" Index using the passed values.static Index
Index. create(Map<DotName,List<AnnotationInstance>> annotations, Map<DotName,List<ClassInfo>> subclasses, Map<DotName,List<ClassInfo>> implementors, Map<DotName,ClassInfo> classes, Map<DotName,List<ClassInfo>> users)
Constructs a "mock" Index using the passed values.
-