public static class AnnotationList.ForLoadedAnnotation extends AnnotationList.AbstractBase
Annotations as an annotation list.AnnotationList.AbstractBase, AnnotationList.Empty, AnnotationList.Explicit, AnnotationList.ForLoadedAnnotationmodCount| Constructor and Description |
|---|
ForLoadedAnnotation(Annotation... annotation)
Creates a new list of loaded annotations.
|
ForLoadedAnnotation(List<? extends Annotation> annotations)
Creates a new list of loaded annotations.
|
| Modifier and Type | Method and Description |
|---|---|
static List<AnnotationList> |
asList(Annotation[][] annotations)
Creates a list of annotation lists representing the given loaded annotations.
|
AnnotationDescription |
get(int index) |
int |
size() |
inherited, isAnnotationPresent, isAnnotationPresent, 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, subListadd, add, addAll, addAll, clear, contains, containsAll, equals, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, replaceAll, retainAll, set, sort, spliterator, toArray, toArrayparallelStream, removeIf, streampublic ForLoadedAnnotation(Annotation... annotation)
annotation - The represented annotations.public ForLoadedAnnotation(List<? extends Annotation> annotations)
annotations - The represented annotations.public static List<AnnotationList> asList(Annotation[][] annotations)
annotations - The annotations to represent where each dimension is converted into a list.public AnnotationDescription get(int index)
get in interface List<AnnotationDescription>get in class AbstractList<AnnotationDescription>public int size()
size in interface Collection<AnnotationDescription>size in interface List<AnnotationDescription>size in class AbstractCollection<AnnotationDescription>Copyright © 2014–2015. All rights reserved.