public static class AnnotationList.Explicit extends AnnotationList.AbstractBase
AnnotationList.AbstractBase, AnnotationList.Empty, AnnotationList.Explicit, AnnotationList.ForLoadedAnnotations| Modifier and Type | Field and Description |
|---|---|
private java.util.List<? extends AnnotationDescription> |
annotationDescriptions
The list of represented annotation descriptions.
|
| Constructor and Description |
|---|
Explicit(AnnotationDescription... annotationDescription)
Creates a new list of annotation descriptions.
|
Explicit(java.util.List<? extends AnnotationDescription> annotationDescriptions)
Creates a new list of annotation descriptions.
|
| Modifier and Type | Method and Description |
|---|---|
static java.util.List<AnnotationList> |
asList(java.util.List<? extends java.util.List<? extends AnnotationDescription>> annotations)
Creates a list of annotation lists for a given multidimensional list of annotation descriptions.
|
AnnotationDescription |
get(int index) |
int |
size() |
asTypeList, inherited, isAnnotationPresent, isAnnotationPresent, ofType, ofType, visibility, wrapfilter, getOnly, subListadd, add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, setaddAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitfilter, getOnly, subListprivate final java.util.List<? extends AnnotationDescription> annotationDescriptions
public Explicit(AnnotationDescription... annotationDescription)
annotationDescription - The list of represented annotation descriptions.public Explicit(java.util.List<? extends AnnotationDescription> annotationDescriptions)
annotationDescriptions - The list of represented annotation descriptions.public static java.util.List<AnnotationList> asList(java.util.List<? extends java.util.List<? extends AnnotationDescription>> annotations)
annotations - The list of annotations to represent as a list of annotation lists.public AnnotationDescription get(int index)
get in interface java.util.List<AnnotationDescription>get in class java.util.AbstractList<AnnotationDescription>public int size()
size in interface java.util.Collection<AnnotationDescription>size in interface java.util.List<AnnotationDescription>size in class java.util.AbstractCollection<AnnotationDescription>