Uses of Class
org.jboss.jandex.AnnotationInstance
-
-
Uses of AnnotationInstance in org.jboss.jandex
Fields in org.jboss.jandex declared as AnnotationInstance Modifier and Type Field Description private AnnotationInstance
Indexer.TypeAnnotationState. annotation
private AnnotationInstance[]
FieldInternal. annotations
private AnnotationInstance[]
MethodInternal. annotations
private AnnotationInstance[]
RecordComponentInternal. annotations
private AnnotationInstance[]
Type. annotations
private AnnotationInstance[]
IndexReaderV2. annotationTable
private static AnnotationInstance[]
Type. EMPTY_ANNOTATIONS
(package private) static AnnotationInstance[]
AnnotationInstance. EMPTY_ARRAY
private AnnotationInstance
AnnotationValue.NestedAnnotation. value
Fields in org.jboss.jandex with type parameters of type AnnotationInstance Modifier and Type Field Description private java.util.Map<DotName,java.util.List<AnnotationInstance>>
ClassInfo. annotations
(package private) java.util.Map<DotName,java.util.List<AnnotationInstance>>
Index. annotations
private IndexWriterV2.ReferenceTable<AnnotationInstance>
IndexWriterV2. annotationTable
private java.util.HashMap<DotName,java.util.List<AnnotationInstance>>
Indexer. classAnnotations
private java.util.ArrayList<AnnotationInstance>
Indexer. elementAnnotations
private static java.util.List<AnnotationInstance>
Index. EMPTY_ANNOTATION_LIST
private java.util.Map<?,java.util.List<AnnotationInstance>>
AnnotationTargetFilterCollection. map
private java.util.Map<DotName,java.util.List<AnnotationInstance>>
Indexer. masterAnnotations
private java.util.HashMap<DotName,java.util.List<AnnotationInstance>>
IndexReaderV1. masterAnnotations
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.(package private) AnnotationInstance
FieldInternal. annotation(DotName name)
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.(package private) AnnotationInstance
MethodInternal. annotation(DotName name)
AnnotationInstance
ModuleInfo. annotation(DotName name)
AnnotationInstance
RecordComponentInfo. annotation(DotName name)
Retrieves an annotation instance declared on this field.(package private) AnnotationInstance
RecordComponentInternal. annotation(DotName name)
AnnotationInstance
Type. annotation(DotName name)
(package private) AnnotationInstance[]
FieldInternal. annotationArray()
(package private) AnnotationInstance[]
MethodInternal. annotationArray()
(package private) AnnotationInstance[]
RecordComponentInternal. annotationArray()
(package private) AnnotationInstance[]
Type. annotationArray()
AnnotationInstance
AnnotationValue. asNested()
Returns a nested annotation represented by this value.AnnotationInstance
AnnotationValue.NestedAnnotation. asNested()
AnnotationInstance[]
AnnotationValue.ArrayValue. asNestedArray()
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, java.util.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.private AnnotationInstance
Indexer. processAnnotation(java.io.DataInputStream data, AnnotationTarget target)
private AnnotationInstance
IndexReaderV2. readAnnotationEntry(PackedDataInputStream stream, AnnotationTarget caller)
private AnnotationInstance[]
IndexReaderV2. readAnnotations(PackedDataInputStream stream, AnnotationTarget target)
AnnotationInstance
AnnotationValue.NestedAnnotation. value()
Methods in org.jboss.jandex that return types with arguments of type AnnotationInstance Modifier and Type Method Description java.util.Map<DotName,java.util.List<AnnotationInstance>>
ClassInfo. annotations()
Returns a map indexed by annotation name, with a value list of annotation instances.java.util.List<AnnotationInstance>
FieldInfo. annotations()
Returns the list of annotation instances declared on this field.(package private) java.util.List<AnnotationInstance>
FieldInternal. annotations()
java.util.List<AnnotationInstance>
MethodInfo. annotations()
Returns the annotation instances declared on this method.java.util.List<AnnotationInstance>
MethodInfo. annotations(DotName name)
Retrieves annotations declared on this method, by the name of the annotation.(package private) java.util.List<AnnotationInstance>
MethodInternal. annotations()
java.util.Collection<AnnotationInstance>
ModuleInfo. annotations()
java.util.List<AnnotationInstance>
RecordComponentInfo. annotations()
Returns the list of annotation instances declared on this record component.(package private) java.util.List<AnnotationInstance>
RecordComponentInternal. annotations()
java.util.List<AnnotationInstance>
Type. annotations()
Returns the list of annotations declared on this type's usage.java.util.List<AnnotationInstance>
FieldInfo. annotationsWithRepeatable(DotName name, IndexView index)
Retrieves annotation instances declared on this field, by the name of the annotation.java.util.List<AnnotationInstance>
MethodInfo. annotationsWithRepeatable(DotName name, IndexView index)
Retrieves annotations declared on this method, by the name of the annotation.java.util.List<AnnotationInstance>
ModuleInfo. annotationsWithRepeatable(DotName name, IndexView index)
java.util.List<AnnotationInstance>
RecordComponentInfo. annotationsWithRepeatable(DotName name, IndexView index)
Retrieves annotation instances declared on this field, by the name of the annotation.java.util.Collection<AnnotationInstance>
ClassInfo. classAnnotations()
Returns a list of all annotations directly declared on this class.java.util.List<AnnotationInstance>
ClassInfo. classAnnotationsWithRepeatable(DotName name, IndexView index)
Retrieves annotation instances declared on this class, by the name of the annotation.private java.util.List<AnnotationInstance>
IndexReaderV2. convertToList(AnnotationInstance[] annotationInstances)
java.util.List<AnnotationInstance>
CompositeIndex. getAnnotations(DotName annotationName)
Obtains a list of instances for the specified annotation.java.util.List<AnnotationInstance>
Index. getAnnotations(DotName annotationName)
Obtains a list of instances for the specified annotation.java.util.Collection<AnnotationInstance>
IndexView. getAnnotations(DotName annotationName)
Obtains a list of instances for the specified annotation.java.util.Collection<AnnotationInstance>
CompositeIndex. getAnnotationsWithRepeatable(DotName annotationName, IndexView index)
Obtains a list of instances for the specified annotation.java.util.Collection<AnnotationInstance>
Index. getAnnotationsWithRepeatable(DotName annotationName, IndexView index)
Obtains a list of instances for the specified annotation.java.util.Collection<AnnotationInstance>
IndexView. getAnnotationsWithRepeatable(DotName annotationName, IndexView index)
Obtains a list of instances for the specified annotation.private java.util.Collection<AnnotationInstance>
Index. getRepeatableAnnotations(DotName annotationName, DotName containingAnnotationName)
java.util.Iterator<AnnotationInstance>
AnnotationTargetFilterCollection. iterator()
Methods in org.jboss.jandex with parameters of type AnnotationInstance Modifier and Type Method Description private void
IndexWriterV2. addAnnotation(AnnotationInstance instance)
(package private) Type
Type. addAnnotation(AnnotationInstance annotation)
int
AnnotationInstance.InstanceNameComparator. compare(AnnotationInstance instance, AnnotationInstance instance2)
private java.util.List<AnnotationInstance>
IndexReaderV2. convertToList(AnnotationInstance[] annotationInstances)
(package private) Type
ArrayType. copyType(AnnotationInstance[] newAnnotations)
(package private) Type
ClassType. copyType(AnnotationInstance[] newAnnotations)
(package private) ParameterizedType
ParameterizedType. copyType(AnnotationInstance[] newAnnotations)
(package private) Type
PrimitiveType. copyType(AnnotationInstance[] newAnnotations)
(package private) abstract Type
Type. copyType(AnnotationInstance[] newAnnotations)
(package private) Type
TypeVariable. copyType(AnnotationInstance[] newAnnotations)
(package private) Type
UnresolvedTypeVariable. copyType(AnnotationInstance[] newAnnotations)
(package private) Type
VoidType. copyType(AnnotationInstance[] newAnnotations)
(package private) Type
WildcardType. copyType(AnnotationInstance[] newAnnotations)
static AnnotationValue
AnnotationValue. createNestedAnnotationValue(java.lang.String name, AnnotationInstance instance)
private boolean
IndexWriterV2. markWritten(AnnotationInstance annotation)
private int
IndexWriterV2. positionOf(AnnotationInstance instance)
private void
Indexer. recordAnnotation(java.util.Map<DotName,java.util.List<AnnotationInstance>> classAnnotations, DotName annotation, AnnotationInstance instance)
private void
IndexReaderV1. recordAnnotation(java.util.Map<DotName,java.util.List<AnnotationInstance>> annotations, DotName annotation, AnnotationInstance instance)
private void
IndexReaderV2. updateAnnotationTargetInfo(AnnotationInstance[] annotations, ClassInfo clazz)
private void
IndexWriterV2. writeAnnotation(PackedDataOutputStream stream, AnnotationInstance instance)
private void
IndexWriterV2. writeReference(PackedDataOutputStream stream, AnnotationInstance annotation)
private void
IndexWriterV2. writeReferenceOrFull(PackedDataOutputStream stream, AnnotationInstance annotation)
Method parameters in org.jboss.jandex with type arguments of type AnnotationInstance Modifier and Type Method Description private void
IndexReaderV2. addToMaster(java.util.Map<DotName,java.util.List<AnnotationInstance>> masterAnnotations, DotName name, java.util.List<AnnotationInstance> annotations)
private void
IndexReaderV2. addToMaster(java.util.Map<DotName,java.util.List<AnnotationInstance>> masterAnnotations, DotName name, java.util.List<AnnotationInstance> annotations)
static ClassInfo
ClassInfo. create(DotName name, DotName superName, short flags, DotName[] interfaces, java.util.Map<DotName,java.util.List<AnnotationInstance>> annotations, boolean hasNoArgsConstructor)
Deprecated.static Index
Index. create(java.util.Map<DotName,java.util.List<AnnotationInstance>> annotations, java.util.Map<DotName,java.util.List<ClassInfo>> subclasses, java.util.Map<DotName,java.util.List<ClassInfo>> implementors, java.util.Map<DotName,ClassInfo> classes)
Constructs a "mock" Index using the passed values.static Index
Index. create(java.util.Map<DotName,java.util.List<AnnotationInstance>> annotations, java.util.Map<DotName,java.util.List<ClassInfo>> subclasses, java.util.Map<DotName,java.util.List<ClassInfo>> implementors, java.util.Map<DotName,ClassInfo> classes, java.util.Map<DotName,java.util.List<ClassInfo>> users)
Constructs a "mock" Index using the passed values.private void
IndexReaderV1. readAnnotations(PackedDataInputStream stream, java.util.Map<DotName,java.util.List<AnnotationInstance>> annotations, ClassInfo clazz)
private ClassInfo
IndexReaderV2. readClassEntry(PackedDataInputStream stream, java.util.Map<DotName,java.util.List<AnnotationInstance>> masterAnnotations, int version)
private java.util.Map<DotName,ModuleInfo>
IndexReaderV2. readModules(PackedDataInputStream stream, java.util.Map<DotName,java.util.List<AnnotationInstance>> masterAnnotations, int version)
private void
Indexer. recordAnnotation(java.util.Map<DotName,java.util.List<AnnotationInstance>> classAnnotations, DotName annotation, AnnotationInstance instance)
private void
IndexReaderV1. recordAnnotation(java.util.Map<DotName,java.util.List<AnnotationInstance>> annotations, DotName annotation, AnnotationInstance instance)
(package private) void
ClassInfo. setAnnotations(java.util.Map<DotName,java.util.List<AnnotationInstance>> annotations)
(package private) void
FieldInfo. setAnnotations(java.util.List<AnnotationInstance> annotations)
(package private) void
FieldInternal. setAnnotations(java.util.List<AnnotationInstance> annotations)
(package private) void
MethodInfo. setAnnotations(java.util.List<AnnotationInstance> annotations)
(package private) void
MethodInternal. setAnnotations(java.util.List<AnnotationInstance> annotations)
(package private) void
RecordComponentInfo. setAnnotations(java.util.List<AnnotationInstance> annotations)
(package private) void
RecordComponentInternal. setAnnotations(java.util.List<AnnotationInstance> annotations)
Constructors in org.jboss.jandex with parameters of type AnnotationInstance Constructor Description AnnotationInstance(AnnotationInstance instance, AnnotationTarget target)
ArrayType(Type component, int dimensions, AnnotationInstance[] annotations)
ClassType(DotName name, AnnotationInstance[] annotations)
FieldInternal(byte[] name, Type type, short flags, AnnotationInstance[] annotations)
MethodInternal(byte[] name, byte[][] parameterNames, Type[] parameters, Type returnType, short flags, Type receiverType, Type[] typeParameters, Type[] exceptions, AnnotationInstance[] annotations, AnnotationValue defaultValue)
NestedAnnotation(java.lang.String name, AnnotationInstance value)
ParameterizedType(DotName name, Type[] arguments, Type owner, AnnotationInstance[] annotations)
PrimitiveType(PrimitiveType.Primitive primitive, AnnotationInstance[] annotations)
RecordComponentInternal(byte[] name, Type type, AnnotationInstance[] annotations)
Type(DotName name, AnnotationInstance[] annotations)
TypeAnnotationState(TypeTarget target, AnnotationInstance annotation, java.util.ArrayList<Indexer.PathElement> pathElements, boolean genericsRequired, boolean bridgeIncompatible)
TypeVariable(java.lang.String name, Type[] bounds, AnnotationInstance[] annotations)
TypeVariable(java.lang.String name, Type[] bounds, AnnotationInstance[] annotations, boolean implicitObjectBound)
UnresolvedTypeVariable(java.lang.String name, AnnotationInstance[] annotations)
VoidType(AnnotationInstance[] annotations)
WildcardType(Type bound, boolean isExtends, AnnotationInstance[] annotations)
Constructor parameters in org.jboss.jandex with type arguments of type AnnotationInstance Constructor Description AnnotationTargetFilterCollection(java.util.Map<?,java.util.List<AnnotationInstance>> map, java.lang.Class<T> type)
Index(java.util.Map<DotName,java.util.List<AnnotationInstance>> annotations, java.util.Map<DotName,java.util.List<ClassInfo>> subclasses, java.util.Map<DotName,java.util.List<ClassInfo>> implementors, java.util.Map<DotName,ClassInfo> classes, java.util.Map<DotName,ModuleInfo> modules, java.util.Map<DotName,java.util.List<ClassInfo>> users)
-