Package org.apache.juneau
Class AnnotationWorkList
- All Implemented Interfaces:
Serializable
,Cloneable
,Iterable<AnnotationWork>
,Collection<AnnotationWork>
,List<AnnotationWork>
,RandomAccess
-
Field Summary
Fields inherited from class java.util.AbstractList
modCount
-
Method Summary
Modifier and TypeMethodDescriptionadd
(AnnotationInfo<?> ai, AnnotationApplier<Annotation, Object> aa) Adds an entry to this list.add
(AnnotationList annotations) Adds entries for the specified annotations to this work list.static AnnotationWorkList
create()
Static creator.static AnnotationWorkList
create
(VarResolverSession vrs) Static creator.static AnnotationWorkList
of
(AnnotationList annotations) Static creator.static AnnotationWorkList
of
(VarResolverSession vrs, AnnotationList annotations) Static creator.Methods inherited from class java.util.ArrayList
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, equals, forEach, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSize
Methods inherited from class java.util.AbstractCollection
containsAll, toString
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Collection
parallelStream, stream, toArray
Methods inherited from interface java.util.List
containsAll
-
Method Details
-
of
Static creator.- Parameters:
annotations
- The annotations to create work from.vrs
- The variable resolver.- Returns:
- A new list.
-
of
Static creator.- Parameters:
annotations
- The annotations to create work from.- Returns:
- A new list.
-
create
Static creator.- Returns:
- A new list.
-
create
Static creator.- Parameters:
vrs
- The variable resolver.- Returns:
- A new list.
-
add
Adds an entry to this list.- Parameters:
ai
- The annotation being applied.aa
- The applier for the annotation.- Returns:
- This object.
-
add
Adds entries for the specified annotations to this work list.- Parameters:
annotations
- The annotations to create work from.- Returns:
- This object.
-