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