| 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 |
FieldInfo.getAnnotationInfo()
Get a list of annotations on this field, along with any annotation parameter values, wrapped in
AnnotationInfo objects. |
AnnotationInfoList |
ModuleInfo.getAnnotationInfo()
Get any annotations on the
package-info.class file. |
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 |
MethodParameterInfo.getAnnotationInfo()
Method parameter annotation info (or null if no annotations).
|
AnnotationInfoList |
MethodInfo.getAnnotationInfo()
Get a list of annotations on this method, along with any annotation parameter values.
|
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 |
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 |
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 |
AnnotationInfoList.getRepeatable(String name)
Get the
Repeatable annotation with the given name, or the empty list if none found. |
| Constructor and Description |
|---|
AnnotationInfoList(AnnotationInfoList reachableAnnotations)
Construct a new modifiable empty
AnnotationInfoList, given an initial list of AnnotationInfo
objects. |
Copyright © 2020. All rights reserved.