| Modifier and Type | Method and Description |
|---|---|
AnnotationInfoList |
AnnotationInfoList.directOnly()
returns the list of direct annotations, excluding meta-annotations.
|
static AnnotationInfoList |
AnnotationInfoList.emptyList()
Return an unmodifiable empty
AnnotationInfoList. |
AnnotationInfoList |
AnnotationInfoList.filter(AnnotationInfoList.AnnotationInfoFilter filter)
Find the subset of the
AnnotationInfo objects in this list for which the given filter predicate is
true. |
AnnotationInfoList |
PackageInfo.getAnnotationInfo()
Get any annotations on the
package-info.class file. |
AnnotationInfoList |
ClassInfo.getAnnotationInfo()
Get a list of the annotations on this class, or the empty list if none.
|
AnnotationInfoList |
ModuleInfo.getAnnotationInfo()
Get any annotations on the
package-info.class file. |
AnnotationInfoList |
MethodParameterInfo.getAnnotationInfo()
Method parameter annotation info (or null if no annotations).
|
AnnotationInfoList |
FieldInfo.getAnnotationInfo()
Get a list of annotations on this field, along with any annotation parameter values, wrapped in
AnnotationInfo objects. |
AnnotationInfoList |
MethodInfo.getAnnotationInfo()
Get a list of annotations on this method, along with any annotation parameter values.
|
AnnotationInfoList |
ClassInfo.getAnnotationInfoRepeatable(Class<? extends Annotation> annotation)
Get a the
Repeatable annotation on this class, or the empty list if the class does not have the
annotation. |
AnnotationInfoList |
MethodParameterInfo.getAnnotationInfoRepeatable(Class<? extends Annotation> annotation)
Get a the
Repeatable annotation on this method, or the empty list if the method parameter does not
have the annotation. |
AnnotationInfoList |
FieldInfo.getAnnotationInfoRepeatable(Class<? extends Annotation> annotation)
Get a the
Repeatable annotation on this field, or the empty list if the field does not have the
annotation. |
AnnotationInfoList |
MethodInfo.getAnnotationInfoRepeatable(Class<? extends Annotation> annotation)
Get a the
Repeatable annotation on this method, or the empty list if the method does not have the
annotation. |
AnnotationInfoList |
ClassInfo.getAnnotationInfoRepeatable(String annotationName)
Get a the named
Repeatable annotation on this class, or the empty list if the class does not have the
named annotation. |
AnnotationInfoList |
MethodParameterInfo.getAnnotationInfoRepeatable(String annotationName)
Get a the named
Repeatable annotation on this method, or the empty list if the method parameter does
not have the named annotation. |
AnnotationInfoList |
FieldInfo.getAnnotationInfoRepeatable(String annotationName)
Get a the named
Repeatable annotation on this field, or the empty list if the field does not have the
named annotation. |
AnnotationInfoList |
MethodInfo.getAnnotationInfoRepeatable(String annotationName)
Get a the named
Repeatable annotation on this method, or the empty list if the method does not have
the named annotation. |
AnnotationInfoList |
MethodTypeSignature.getReceiverTypeAnnotationInfo()
Get type annotations on the explicit receiver parameter, or null if none.
|
AnnotationInfoList |
AnnotationInfoList.getRepeatable(Class<? extends Annotation> annotationClass)
Get the
Repeatable annotation with the given class, or the empty list if none found. |
AnnotationInfoList |
AnnotationInfoList.getRepeatable(String name)
Get the
Repeatable annotation with the given name, or the empty list if none found. |
AnnotationInfoList |
TypeSignature.getTypeAnnotationInfo()
Get a list of
AnnotationInfo objects for any type annotations on this type, or null if none. |
AnnotationInfoList |
ArrayTypeSignature.getTypeAnnotationInfo()
Get a list of
AnnotationInfo objects for the type annotations on this array type, or null if none. |
| Modifier and Type | Method and Description |
|---|---|
List<AnnotationInfoList> |
ClassRefTypeSignature.getSuffixTypeAnnotationInfo()
Get a list of lists of type annotations for all nested suffixes of the class, one list per suffix.
|
| Constructor and Description |
|---|
AnnotationInfoList(AnnotationInfoList reachableAnnotations)
Construct a new modifiable empty
AnnotationInfoList, given an initial list of AnnotationInfo
objects. |
Copyright © 2021. All rights reserved.