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 AnnotationWorkListcreate()Static creator.static AnnotationWorkListcreate(VarResolverSession vrs) Static creator.static AnnotationWorkListof(AnnotationList annotations) Static creator.static AnnotationWorkListof(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, trimToSizeMethods inherited from class java.util.AbstractCollection
containsAll, toStringMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, stream, toArrayMethods 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.
-