Class AnnotationList.Explicit
java.lang.Object
java.util.AbstractCollection<AnnotationDescription>
java.util.AbstractList<AnnotationDescription>
net.bytebuddy.matcher.FilterableList.AbstractBase<AnnotationDescription, AnnotationList>
net.bytebuddy.description.annotation.AnnotationList.AbstractBase
net.bytebuddy.description.annotation.AnnotationList.Explicit
- All Implemented Interfaces:
Iterable<AnnotationDescription>, Collection<AnnotationDescription>, List<AnnotationDescription>, SequencedCollection<AnnotationDescription>, AnnotationList, FilterableList<AnnotationDescription, AnnotationList>
- Direct Known Subclasses:
TypePool.Default.LazyTypeDescription.LazyAnnotationDescription.UnresolvedAnnotationList
- Enclosing interface:
AnnotationList
Represents a list of explicitly provided annotation descriptions.
-
Nested Class Summary
Nested classes/interfaces inherited from interface AnnotationList
AnnotationList.AbstractBase, AnnotationList.Empty, AnnotationList.Explicit, AnnotationList.ForLoadedAnnotationsNested classes/interfaces inherited from interface FilterableList
FilterableList.AbstractBase<T,S>, FilterableList.Empty<T, S> -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final List<? extends AnnotationDescription> The list of represented annotation descriptions.Fields inherited from class AbstractList
modCount -
Constructor Summary
ConstructorsConstructorDescriptionExplicit(List<? extends AnnotationDescription> annotationDescriptions) Creates a new list of annotation descriptions.Explicit(AnnotationDescription... annotationDescription) Creates a new list of annotation descriptions. -
Method Summary
Modifier and TypeMethodDescriptionstatic List<AnnotationList> asList(List<? extends List<? extends AnnotationDescription>> annotations) Creates a list of annotation lists for a given multidimensional list of annotation descriptions.get(int index) intsize()Methods inherited from class AnnotationList.AbstractBase
asTypeList, asTypeNames, inherited, isAnnotationPresent, isAnnotationPresent, ofType, ofType, visibility, wrapMethods inherited from class FilterableList.AbstractBase
filter, getOnly, subListMethods inherited from class AbstractList
add, add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, setMethods inherited from class AbstractCollection
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toStringMethods inherited from interface Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface FilterableList
filter, getOnly, subListMethods inherited from interface List
add, add, addAll, addAll, addFirst, addLast, clear, contains, containsAll, equals, getFirst, getLast, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeFirst, removeLast, replaceAll, retainAll, reversed, set, sort, spliterator, toArray, toArray
-
Field Details
-
annotationDescriptions
The list of represented annotation descriptions.
-
-
Constructor Details
-
Explicit
Creates a new list of annotation descriptions.- Parameters:
annotationDescription- The list of represented annotation descriptions.
-
Explicit
Creates a new list of annotation descriptions.- Parameters:
annotationDescriptions- The list of represented annotation descriptions.
-
-
Method Details
-
asList
public static List<AnnotationList> asList(List<? extends List<? extends AnnotationDescription>> annotations) Creates a list of annotation lists for a given multidimensional list of annotation descriptions.- Parameters:
annotations- The list of annotations to represent as a list of annotation lists.- Returns:
- The list of annotation lists.
-
get
- Specified by:
getin interfaceList<AnnotationDescription>- Specified by:
getin classAbstractList<AnnotationDescription>
-
size
public int size()- Specified by:
sizein interfaceCollection<AnnotationDescription>- Specified by:
sizein interfaceList<AnnotationDescription>- Specified by:
sizein classAbstractCollection<AnnotationDescription>
-