Class AnnotationList.Explicit
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<T>
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>
,AnnotationList
,FilterableList<AnnotationDescription,
AnnotationList>
- Enclosing interface:
- AnnotationList
Represents a list of explicitly provided annotation descriptions.
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.bytebuddy.description.annotation.AnnotationList
AnnotationList.AbstractBase, AnnotationList.Empty, AnnotationList.Explicit, AnnotationList.ForLoadedAnnotations
Nested classes/interfaces inherited from interface net.bytebuddy.matcher.FilterableList
FilterableList.AbstractBase<T,
S extends FilterableList<T, S>>, FilterableList.Empty<T, S extends FilterableList<T, S>> -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final List<? extends AnnotationDescription>
The list of represented annotation descriptions.Fields inherited from class java.util.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) int
size()
Methods inherited from class net.bytebuddy.description.annotation.AnnotationList.AbstractBase
asTypeList, inherited, isAnnotationPresent, isAnnotationPresent, ofType, ofType, visibility, wrap
Methods inherited from class net.bytebuddy.matcher.FilterableList.AbstractBase
filter, getOnly, subList
Methods inherited from class java.util.AbstractList
add, add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, set
Methods inherited from class java.util.AbstractCollection
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
Methods inherited from interface net.bytebuddy.matcher.FilterableList
filter, getOnly, subList
Methods inherited from interface java.util.List
add, add, addAll, addAll, clear, contains, containsAll, equals, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, replaceAll, retainAll, 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:
get
in interfaceList<AnnotationDescription>
- Specified by:
get
in classAbstractList<AnnotationDescription>
-
size
public int size()- Specified by:
size
in interfaceCollection<AnnotationDescription>
- Specified by:
size
in interfaceList<AnnotationDescription>
- Specified by:
size
in classAbstractCollection<AnnotationDescription>
-