Uses of Class
org.jboss.jandex.AnnotationInstance
-
Packages that use AnnotationInstance Package Description org.jboss.jandex Jandex is a space efficient Java class file indexer and offline reflection library. -
-
Uses of AnnotationInstance in org.jboss.jandex
Fields in org.jboss.jandex declared as AnnotationInstance Modifier and Type Field Description private AnnotationInstance
AnnotationInstanceEquivalenceProxy. annotation
private AnnotationInstance
Indexer.TypeAnnotationState. annotation
private AnnotationInstance[]
FieldInternal. annotations
(package private) AnnotationInstance[]
MethodInternal.ExtraInfo. 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.Set<AnnotationInstance>
AnnotationOverlayImpl.TransformationContextImpl. annotations
private java.util.Map<DotName,java.util.List<AnnotationInstance>>
ClassInfo. annotations
protected java.util.List<AnnotationInstance>
Type.Builder. 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<DotName,java.util.List<AnnotationInstance>>
Indexer. masterAnnotations
private java.util.HashMap<DotName,java.util.List<AnnotationInstance>>
IndexReaderV1. masterAnnotations
private java.util.Collection<AnnotationInstance>
AnnotationOverlayImpl.TransformationContextImpl. originalAnnotations
(package private) java.util.Map<EquivalenceKey,java.util.Collection<AnnotationInstance>>
AnnotationOverlayImpl. overlay
Methods in org.jboss.jandex that return AnnotationInstance Modifier and Type Method Description default AnnotationInstance
AnnotationOverlay. annotation(Declaration declaration, java.lang.Class<? extends java.lang.annotation.Annotation> clazz)
Returns the annotation instance of givenclazz
declared on givendeclaration
.AnnotationInstance
AnnotationOverlay. annotation(Declaration declaration, DotName name)
Returns the annotation instance with givenname
declared on givendeclaration
.AnnotationInstance
AnnotationOverlayImpl. annotation(Declaration declaration, DotName name)
default AnnotationInstance
AnnotationTarget. annotation(java.lang.Class<? extends java.lang.annotation.Annotation> clazz)
Returns the annotation instance of given type declared on this annotation target or any of its nested annotation targets.default AnnotationInstance
AnnotationTarget. annotation(java.lang.String name)
Returns the annotation instance with given name declared on this annotation target or any of its nested annotation targets.AnnotationInstance
AnnotationTarget. annotation(DotName name)
Returns the annotation instance with given name declared on this annotation target or any of its nested annotation targets.AnnotationInstance
ClassInfo. annotation(DotName name)
Returns the annotation instance with given name declared on this class, any of its members, or any type within the signature of the class or its members.AnnotationInstance
FieldInfo. annotation(DotName name)
Returns the annotation instance with given name declared on this field or any type within its signature.(package private) AnnotationInstance
FieldInternal. annotation(DotName name)
AnnotationInstance
MethodInfo. annotation(DotName name)
Returns the annotation instance with given name declared on this method, any of its parameters or any type within its signature.(package private) AnnotationInstance
MethodInternal. annotation(DotName name)
AnnotationInstance
MethodParameterInfo. annotation(DotName name)
Returns the annotation instance with given name declared on this method parameter or any type within its signature.AnnotationInstance
ModuleInfo. annotation(DotName name)
AnnotationInstance
RecordComponentInfo. annotation(DotName name)
Returns the annotation instance with given name declared on this record component or any type within its signature.(package private) AnnotationInstance
RecordComponentInternal. annotation(DotName name)
AnnotationInstance
Type. annotation(DotName name)
Returns the annotation instance with given name declared on this type usage.AnnotationInstance
TypeTarget. annotation(DotName name)
Returns the annotation instance with given name declared on this type usage.(package private) AnnotationInstance[]
FieldInternal. annotationArray()
(package private) AnnotationInstance[]
MethodInternal. annotationArray()
(package private) AnnotationInstance[]
RecordComponentInternal. annotationArray()
(package private) AnnotationInstance[]
Type. annotationArray()
protected AnnotationInstance[]
Type.Builder. annotationsArray()
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.(package private) static AnnotationInstance
AnnotationInstance. binarySearch(AnnotationInstance[] annotations, DotName name)
AnnotationInstance
AnnotationInstanceBuilder. build()
Returns anAnnotationInstance
that includes all annotation members defined by previous method calls on this builder.AnnotationInstance
AnnotationInstanceBuilder. buildWithTarget(AnnotationTarget target)
Returns anAnnotationInstance
that includes all annotation members defined by previous method calls on this builder.AnnotationInstance
ClassInfo. classAnnotation(DotName name)
Deprecated.(package private) static AnnotationInstance
AnnotationInstance. create(AnnotationInstance instance, AnnotationTarget target)
static AnnotationInstance
AnnotationInstance. create(DotName name, boolean visible, AnnotationTarget target, java.util.List<AnnotationValue> values)
Construct a new mock annotation instance.static AnnotationInstance
AnnotationInstance. create(DotName name, boolean visible, AnnotationTarget target, AnnotationValue[] values)
Construct a new mock annotation instance.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.default AnnotationInstance
AnnotationTarget. declaredAnnotation(java.lang.Class<? extends java.lang.annotation.Annotation> clazz)
Returns the annotation instance of given type declared on this annotation target.default AnnotationInstance
AnnotationTarget. declaredAnnotation(java.lang.String name)
Returns the annotation instance with given name declared on this annotation target.AnnotationInstance
AnnotationTarget. declaredAnnotation(DotName name)
Returns the annotation instance with given name declared on this annotation target.AnnotationInstance
ClassInfo. declaredAnnotation(DotName name)
Returns the annotation instance with given name declared on this class.AnnotationInstance
FieldInfo. declaredAnnotation(DotName name)
Returns the annotation instance with given name declared on this field.AnnotationInstance
MethodInfo. declaredAnnotation(DotName name)
Returns the annotation instance with given name declared on this method.AnnotationInstance
MethodParameterInfo. declaredAnnotation(DotName name)
Returns the annotation instance with given name declared on this method parameter.AnnotationInstance
RecordComponentInfo. declaredAnnotation(DotName name)
Returns the annotation instance with given name declared on this record component.AnnotationInstance
TypeTarget. declaredAnnotation(DotName name)
Returns the annotation instance with given name declared on this type usage.AnnotationInstance
AnnotationInstanceEquivalenceProxy. get()
private AnnotationInstance
Indexer. processAnnotation(java.io.DataInputStream data, AnnotationTarget target, boolean visible)
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 private static java.util.function.Predicate<AnnotationInstance>
AnnotationTransformation.Builder. annotationPredicate(java.lang.Class<? extends java.lang.annotation.Annotation>... classes)
private static java.util.function.Predicate<AnnotationInstance>
AnnotationTransformation.Builder. annotationPredicate(DotName... classes)
java.util.Collection<AnnotationInstance>
AnnotationOverlay. annotations(Declaration declaration)
Returns the annotation instances declared on givendeclaration
.java.util.Collection<AnnotationInstance>
AnnotationOverlayImpl. annotations(Declaration declaration)
java.util.Collection<AnnotationInstance>
AnnotationOverlayImpl.TransformationContextImpl. annotations()
java.util.Collection<AnnotationInstance>
AnnotationTarget. annotations()
Returns the annotation instances declared on this annotation target and nested annotation targets.default java.util.Collection<AnnotationInstance>
AnnotationTarget. annotations(java.lang.Class<? extends java.lang.annotation.Annotation> clazz)
Returns the annotation instances of given type declared on this annotation target and nested annotation targets.default java.util.Collection<AnnotationInstance>
AnnotationTarget. annotations(java.lang.String name)
Returns the annotation instances with given name declared on this annotation target and nested annotation targets.java.util.Collection<AnnotationInstance>
AnnotationTarget. annotations(DotName name)
Returns the annotation instances with given name declared on this annotation target and nested annotation targets.java.util.Collection<AnnotationInstance>
AnnotationTransformation.TransformationContext. annotations()
Returns the collection of annotations present on the declaration that is being transformed.java.util.List<AnnotationInstance>
ClassInfo. annotations()
Returns the annotation instances declared on this class, any of its members, or any type within the signature of the class or its members.java.util.List<AnnotationInstance>
ClassInfo. annotations(DotName name)
Returns the annotation instances with given name declared on this class, any of its members, or any type within the signature of the class or its members.java.util.List<AnnotationInstance>
FieldInfo. annotations()
Returns the annotation instances declared on this field or any type within its signature.java.util.List<AnnotationInstance>
FieldInfo. annotations(DotName name)
Returns the annotation instances with given name declared on this field or any type within its signature.(package private) java.util.List<AnnotationInstance>
FieldInternal. annotations()
java.util.List<AnnotationInstance>
MethodInfo. annotations()
Returns the annotation instances declared on this method, any of its parameters or any type within its signature.java.util.List<AnnotationInstance>
MethodInfo. annotations(DotName name)
Returns the annotation instances with given name declared on this method, any of its parameters or any type within its signature.(package private) java.util.List<AnnotationInstance>
MethodInternal. annotations()
java.util.List<AnnotationInstance>
MethodParameterInfo. annotations()
Returns the annotation instances declared on this method parameter or any type within its signature.java.util.List<AnnotationInstance>
MethodParameterInfo. annotations(DotName name)
Returns the annotation instances with given name declared on this method parameter or any type within its signature.java.util.Collection<AnnotationInstance>
ModuleInfo. annotations()
java.util.List<AnnotationInstance>
RecordComponentInfo. annotations()
Returns the annotation instances declared on this record component or any type within its signature.java.util.List<AnnotationInstance>
RecordComponentInfo. annotations(DotName name)
Returns the annotation instances with given name declared on this record component or any type within its signature.(package private) java.util.List<AnnotationInstance>
RecordComponentInternal. annotations()
java.util.List<AnnotationInstance>
Type. annotations()
Returns the annotation instances declared on this type usage.java.util.List<AnnotationInstance>
TypeTarget. annotations()
Returns the annotation instances declared on this type usage.java.util.List<AnnotationInstance>
TypeTarget. annotations(DotName name)
Returns the annotation instances with given name declared on this type usage.java.util.Map<DotName,java.util.List<AnnotationInstance>>
ClassInfo. annotations$$bridge()
java.util.Map<DotName,java.util.List<AnnotationInstance>>
ClassInfo. annotationsMap()
Returns a map indexed by annotation name, with a value list of annotation instances.default java.util.Collection<AnnotationInstance>
AnnotationOverlay. annotationsWithRepeatable(Declaration declaration, java.lang.Class<? extends java.lang.annotation.Annotation> clazz)
Returns the annotation instances of given type (clazz
) declared on givendeclaration
.java.util.Collection<AnnotationInstance>
AnnotationOverlay. annotationsWithRepeatable(Declaration declaration, DotName name)
Returns the annotation instances with givenname
declared on givendeclaration
.java.util.Collection<AnnotationInstance>
AnnotationOverlayImpl. annotationsWithRepeatable(Declaration declaration, DotName name)
default java.util.Collection<AnnotationInstance>
AnnotationTarget. annotationsWithRepeatable(java.lang.Class<? extends java.lang.annotation.Annotation> clazz, IndexView index)
Returns the annotation instances of given type declared on this annotation target and nested annotation targets.default java.util.Collection<AnnotationInstance>
AnnotationTarget. annotationsWithRepeatable(java.lang.String name, IndexView index)
Returns the annotation instances with given name declared on this annotation target and nested annotation targets.java.util.Collection<AnnotationInstance>
AnnotationTarget. annotationsWithRepeatable(DotName name, IndexView index)
Returns the annotation instances with given name declared on this annotation target and nested annotation targets.java.util.List<AnnotationInstance>
ClassInfo. annotationsWithRepeatable(DotName name, IndexView index)
Returns the annotation instances with given name declared on this class, any of its members, or any type within the signature of the class or its members.java.util.List<AnnotationInstance>
FieldInfo. annotationsWithRepeatable(DotName name, IndexView index)
Returns the annotation instances with given name declared on this field or any type within its signature.java.util.List<AnnotationInstance>
MethodInfo. annotationsWithRepeatable(DotName name, IndexView index)
Returns the annotation instances with given name declared on this method, any of its parameters or any type within its signature.java.util.List<AnnotationInstance>
MethodParameterInfo. annotationsWithRepeatable(DotName name, IndexView index)
Returns the annotation instances with given name declared on this method parameter or any type within its signature.java.util.List<AnnotationInstance>
ModuleInfo. annotationsWithRepeatable(DotName name, IndexView index)
java.util.List<AnnotationInstance>
RecordComponentInfo. annotationsWithRepeatable(DotName name, IndexView index)
Returns the annotation instances with given name declared on this record component or any type within its signature.java.util.List<AnnotationInstance>
Type. annotationsWithRepeatable(DotName name, IndexView index)
Returns the annotation instances with given name declared on this type usage.java.util.List<AnnotationInstance>
TypeTarget. annotationsWithRepeatable(DotName name, IndexView index)
Returns the annotation instances with given name declared on this type usage.java.util.Collection<AnnotationInstance>
ClassInfo. classAnnotations()
Deprecated.java.util.List<AnnotationInstance>
ClassInfo. classAnnotationsWithRepeatable(DotName name, IndexView index)
Deprecated.private java.util.List<AnnotationInstance>
IndexReaderV2. convertToList(AnnotationInstance[] annotationInstances)
java.util.Collection<AnnotationInstance>
AnnotationTarget. declaredAnnotations()
Returns the annotation instances declared on this annotation target.java.util.List<AnnotationInstance>
ClassInfo. declaredAnnotations()
Returns the annotation instances declared on this class.java.util.List<AnnotationInstance>
FieldInfo. declaredAnnotations()
Returns the annotation instances declared on this field.java.util.List<AnnotationInstance>
MethodInfo. declaredAnnotations()
Returns the annotation instances declared on this method.java.util.List<AnnotationInstance>
MethodParameterInfo. declaredAnnotations()
Returns the annotation instances declared on this method parameter.java.util.List<AnnotationInstance>
RecordComponentInfo. declaredAnnotations()
Returns the annotation instances declared on this record component.java.util.List<AnnotationInstance>
TypeTarget. declaredAnnotations()
Returns the annotation instances declared on this type usage.default java.util.Collection<AnnotationInstance>
AnnotationTarget. declaredAnnotationsWithRepeatable(java.lang.Class<? extends java.lang.annotation.Annotation> clazz, IndexView index)
Returns the annotation instances of given type declared on this annotation target.default java.util.Collection<AnnotationInstance>
AnnotationTarget. declaredAnnotationsWithRepeatable(java.lang.String name, IndexView index)
Returns the annotation instances with given name declared on this annotation target.java.util.Collection<AnnotationInstance>
AnnotationTarget. declaredAnnotationsWithRepeatable(DotName name, IndexView index)
Returns the annotation instances with given name declared on this annotation target.java.util.List<AnnotationInstance>
ClassInfo. declaredAnnotationsWithRepeatable(DotName name, IndexView index)
Returns the annotation instances with given name declared on this class.java.util.List<AnnotationInstance>
FieldInfo. declaredAnnotationsWithRepeatable(DotName name, IndexView index)
Returns the annotation instances with given name declared on this field.java.util.List<AnnotationInstance>
MethodInfo. declaredAnnotationsWithRepeatable(DotName name, IndexView index)
Returns the annotation instances with given name declared on this method.java.util.List<AnnotationInstance>
MethodParameterInfo. declaredAnnotationsWithRepeatable(DotName name, IndexView index)
Returns the annotation instances with given name declared on this method parameter.java.util.List<AnnotationInstance>
RecordComponentInfo. declaredAnnotationsWithRepeatable(DotName name, IndexView index)
Returns the annotation instances with given name declared on this record component.java.util.List<AnnotationInstance>
TypeTarget. declaredAnnotationsWithRepeatable(DotName name, IndexView index)
Returns the annotation instances with given name declared on this type usage.java.util.List<AnnotationInstance>
CompositeIndex. getAnnotations(DotName annotationName)
Obtains a list of instances for the specified annotation.java.util.Collection<AnnotationInstance>
EmptyIndex. getAnnotations(DotName annotationName)
java.util.List<AnnotationInstance>
Index. getAnnotations(DotName annotationName)
Obtains a list of instances for the specified annotation.default java.util.Collection<AnnotationInstance>
IndexView. getAnnotations(java.lang.Class<?> annotationType)
Obtains a list of instances for the specified annotation.default java.util.Collection<AnnotationInstance>
IndexView. getAnnotations(java.lang.String 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>
StackedIndex. getAnnotations(DotName annotationName)
(package private) java.util.Collection<AnnotationInstance>
AnnotationOverlayImpl. getAnnotationsFor(Declaration declaration)
(package private) java.util.Collection<AnnotationInstance>
MutableAnnotationOverlayImpl. getAnnotationsFor(Declaration declaration)
java.util.Collection<AnnotationInstance>
CompositeIndex. getAnnotationsWithRepeatable(DotName annotationName, IndexView index)
Obtains a list of instances for the specified annotation.java.util.Collection<AnnotationInstance>
EmptyIndex. getAnnotationsWithRepeatable(DotName annotationName, IndexView index)
java.util.Collection<AnnotationInstance>
Index. getAnnotationsWithRepeatable(DotName annotationName, IndexView index)
Obtains a list of instances for the specified annotation.default java.util.Collection<AnnotationInstance>
IndexView. getAnnotationsWithRepeatable(java.lang.Class<?> annotationType, IndexView index)
Obtains a list of instances for the specified annotation.default java.util.Collection<AnnotationInstance>
IndexView. getAnnotationsWithRepeatable(java.lang.String 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.java.util.Collection<AnnotationInstance>
StackedIndex. getAnnotationsWithRepeatable(DotName annotationName, IndexView index)
(package private) java.util.Collection<AnnotationInstance>
AnnotationOverlayImpl. getOriginalAnnotations(Declaration declaration)
private java.util.Collection<AnnotationInstance>
Index. getRepeatableAnnotations(DotName annotationName, DotName containingAnnotationName)
Methods in org.jboss.jandex with parameters of type AnnotationInstance Modifier and Type Method Description AnnotationInstanceBuilder
AnnotationInstanceBuilder. add(java.lang.String name, AnnotationInstance value)
Adds an annotation-valued annotation member with givenname
.AnnotationInstanceBuilder
AnnotationInstanceBuilder. add(java.lang.String name, AnnotationInstance[] values)
Adds an annotation array-valued annotation member with givenname
.void
AnnotationOverlayImpl.TransformationContextImpl. add(AnnotationInstance annotation)
void
AnnotationTransformation.TransformationContext. add(AnnotationInstance annotation)
Adds theannotation
to the current set of annotations.void
AnnotationOverlayImpl.TransformationContextImpl. addAll(AnnotationInstance... annotations)
void
AnnotationTransformation.TransformationContext. addAll(AnnotationInstance... annotations)
Adds allannotations
to the current set of annotations.private void
IndexWriterV2. addAnnotation(AnnotationInstance instance)
void
MutableAnnotationOverlay. addAnnotation(Declaration declaration, AnnotationInstance annotation)
Adds given annotation instance to givendeclaration
.void
MutableAnnotationOverlayImpl. addAnnotation(Declaration declaration, AnnotationInstance annotation)
(package private) Type
Type. addAnnotation(AnnotationInstance annotation)
THIS
Type.Builder. addAnnotation(AnnotationInstance annotation)
Adds an annotation to the type being created by this builder.private AnnotationTransformation
MutableAnnotationOverlayImpl. addTransformation(Declaration declaration, AnnotationInstance annotation)
(package private) static AnnotationInstance
AnnotationInstance. binarySearch(AnnotationInstance[] annotations, DotName name)
int
AnnotationInstance.NameComparator. compare(AnnotationInstance instance1, 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
TypeVariableReference. copyType(AnnotationInstance[] newAnnotations)
(package private) Type
UnresolvedTypeVariable. copyType(AnnotationInstance[] newAnnotations)
(package private) Type
VoidType. copyType(AnnotationInstance[] newAnnotations)
(package private) Type
WildcardType. copyType(AnnotationInstance[] newAnnotations)
(package private) static AnnotationInstance
AnnotationInstance. create(AnnotationInstance instance, AnnotationTarget target)
static AnnotationValue
AnnotationValue. createNestedAnnotationValue(java.lang.String name, AnnotationInstance instance)
static Type
Type. createWithAnnotations(DotName name, Type.Kind kind, AnnotationInstance[] annotations)
Creates an instance of specified type with given typeannotations
.boolean
AnnotationInstance. equivalentTo(AnnotationInstance other)
Returns whether this annotation instance is equivalent to theother
annotation 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 boolean
MethodParameterInfo. targetsThis(AnnotationInstance annotation)
private boolean
MethodParameterInfo. targetsThisOrNested(AnnotationInstance annotation)
private void
IndexReaderV2. updateAnnotationTargetInfo(AnnotationInstance[] annotations, ClassInfo clazz)
AnnotationInstanceBuilder
AnnotationInstanceBuilder. value(AnnotationInstance value)
Adds an annotation-valued annotation member calledvalue
.AnnotationInstanceBuilder
AnnotationInstanceBuilder. value(AnnotationInstance[] values)
Adds an annotation array-valued annotation member calledvalue
.private void
IndexWriterV2. writeAnnotation(PackedDataOutputStream stream, AnnotationInstance instance)
private void
IndexWriterV2. writeAnnotations(PackedDataOutputStream stream, AnnotationInstance[] annotations)
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 void
AnnotationOverlayImpl.TransformationContextImpl. addAll(java.util.Collection<AnnotationInstance> annotations)
void
AnnotationTransformation.TransformationContext. addAll(java.util.Collection<AnnotationInstance> annotations)
Adds allannotations
to the current set of annotations.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>> subinterfaces, 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.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>> subinterfaces, 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)
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)
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.boolean
AnnotationOverlayImpl.TransformationContextImpl. hasAnnotation(java.util.function.Predicate<AnnotationInstance> predicate)
boolean
AnnotationTransformation.TransformationContext. hasAnnotation(java.util.function.Predicate<AnnotationInstance> predicate)
Returns whether the current set of annotations contains an annotation that matches givenpredicate
.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)
private java.util.Map<DotName,ModuleInfo>
IndexReaderV2. readModules(PackedDataInputStream stream, java.util.Map<DotName,java.util.List<AnnotationInstance>> masterAnnotations)
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)
void
AnnotationOverlayImpl.TransformationContextImpl. remove(java.util.function.Predicate<AnnotationInstance> predicate)
void
AnnotationTransformation.TransformationContext. remove(java.util.function.Predicate<AnnotationInstance> predicate)
Removes annotations that match givenpredicate
from the current set of annotations.void
MutableAnnotationOverlay. removeAnnotations(Declaration declaration, java.util.function.Predicate<AnnotationInstance> predicate)
Removes all annotations matching givenpredicate
from givendeclaration
.void
MutableAnnotationOverlayImpl. removeAnnotations(Declaration declaration, java.util.function.Predicate<AnnotationInstance> predicate)
private AnnotationTransformation
MutableAnnotationOverlayImpl. removeTransformation(Declaration declaration, java.util.function.Predicate<AnnotationInstance> predicate)
(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)
THIS
AnnotationTransformation.Builder. whenAllMatch(java.util.function.Predicate<AnnotationInstance> predicate)
Adds a predicate that tests whether all of the current set of annotations match the givenpredicate
.THIS
AnnotationTransformation.Builder. whenAnyMatch(java.util.function.Predicate<AnnotationInstance> predicate)
Adds a predicate that tests whether any of the current set of annotations matches the givenpredicate
.THIS
AnnotationTransformation.Builder. whenNoneMatch(java.util.function.Predicate<AnnotationInstance> predicate)
Adds a predicate that tests whether none of the current set of annotations matches the givenpredicate
.private void
IndexWriterV2. writeAnnotations(PackedDataOutputStream stream, java.util.Collection<AnnotationInstance> annotations)
Constructors in org.jboss.jandex with parameters of type AnnotationInstance Constructor Description AnnotationInstanceEquivalenceProxy(AnnotationInstance annotation)
ArrayType(Type constituent, int dimensions, AnnotationInstance[] annotations)
ClassType(DotName name, AnnotationInstance[] annotations)
FieldInternal(byte[] name, Type type, short flags, AnnotationInstance[] annotations)
MethodInternal(byte[] name, byte[][] parameterNames, Type[] parameterTypes, 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)
TypeVariableReference(java.lang.String name, TypeVariable target, AnnotationInstance[] annotations, DotName internalClassName)
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 TransformationContextImpl(Declaration declaration, java.util.Collection<AnnotationInstance> annotations)
-