| Modifier and Type | Class and Description |
|---|---|
class |
CompositeIndex
Composite annotation index.
|
class |
Index
An index useful for quickly processing annotations.
|
| Modifier and Type | Method and Description |
|---|---|
default Collection<AnnotationInstance> |
AnnotationTarget.annotationsWithRepeatable(Class<? extends Annotation> clazz,
IndexView index)
Returns the annotation instances of given type declared on this annotation target and nested annotation targets.
|
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.
|
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.
|
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.
|
List<AnnotationInstance> |
TypeTarget.annotationsWithRepeatable(DotName name,
IndexView index)
Returns the annotation instances with given name declared on this type usage.
|
Collection<AnnotationInstance> |
AnnotationTarget.annotationsWithRepeatable(DotName name,
IndexView index)
Returns the annotation instances with given name declared on this annotation target and nested annotation targets.
|
List<AnnotationInstance> |
Type.annotationsWithRepeatable(DotName name,
IndexView index)
Returns the annotation instances with given name declared on this type usage.
|
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.
|
List<AnnotationInstance> |
ModuleInfo.annotationsWithRepeatable(DotName name,
IndexView index) |
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.
|
default Collection<AnnotationInstance> |
AnnotationTarget.annotationsWithRepeatable(String name,
IndexView index)
Returns the annotation instances with given name declared on this annotation target and nested annotation targets.
|
List<AnnotationInstance> |
ClassInfo.classAnnotationsWithRepeatable(DotName name,
IndexView index)
Deprecated.
|
static CompositeIndex |
CompositeIndex.create(IndexView... indexes) |
default Collection<AnnotationInstance> |
AnnotationTarget.declaredAnnotationsWithRepeatable(Class<? extends Annotation> clazz,
IndexView index)
Returns the annotation instances of given type declared on this annotation target.
|
List<AnnotationInstance> |
MethodParameterInfo.declaredAnnotationsWithRepeatable(DotName name,
IndexView index)
Returns the annotation instances with given name declared on this method parameter.
|
List<AnnotationInstance> |
MethodInfo.declaredAnnotationsWithRepeatable(DotName name,
IndexView index)
Returns the annotation instances with given name declared on this method.
|
List<AnnotationInstance> |
RecordComponentInfo.declaredAnnotationsWithRepeatable(DotName name,
IndexView index)
Returns the annotation instances with given name declared on this record component.
|
List<AnnotationInstance> |
TypeTarget.declaredAnnotationsWithRepeatable(DotName name,
IndexView index)
Returns the annotation instances with given name declared on this type usage.
|
Collection<AnnotationInstance> |
AnnotationTarget.declaredAnnotationsWithRepeatable(DotName name,
IndexView index)
Returns the annotation instances with given name declared on this annotation target.
|
List<AnnotationInstance> |
FieldInfo.declaredAnnotationsWithRepeatable(DotName name,
IndexView index)
Returns the annotation instances with given name declared on this field.
|
List<AnnotationInstance> |
ClassInfo.declaredAnnotationsWithRepeatable(DotName name,
IndexView index)
Returns the annotation instances with given name declared on this class.
|
default Collection<AnnotationInstance> |
AnnotationTarget.declaredAnnotationsWithRepeatable(String name,
IndexView index)
Returns the annotation instances with given name declared on this annotation target.
|
default Collection<AnnotationInstance> |
IndexView.getAnnotationsWithRepeatable(Class<?> annotationType,
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> |
CompositeIndex.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.
|
default Collection<AnnotationInstance> |
IndexView.getAnnotationsWithRepeatable(String annotationName,
IndexView index)
Obtains a list of instances for the specified annotation.
|
List<AnnotationValue> |
AnnotationInstance.valuesWithDefaults(IndexView index)
Returns a list of all parameter values on this annotation instance,
including default values id defined.
|
AnnotationValue |
AnnotationInstance.valueWithDefault(IndexView index)
Returns the value that is associated with the special default "value"
parameter, also accounting for a value default.
|
AnnotationValue |
AnnotationInstance.valueWithDefault(IndexView index,
String name)
Returns a value that corresponds with the specified parameter name,
accounting for its default value.
|
| Modifier and Type | Method and Description |
|---|---|
static CompositeIndex |
CompositeIndex.create(Collection<IndexView> indexes) |
Copyright © 2018–2022. All rights reserved.