Package net.bytebuddy.pool
Class TypePool.Default.LazyTypeDescription.LazyAnnotationDescription.UnresolvedAnnotationList
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
net.bytebuddy.pool.TypePool.Default.LazyTypeDescription.LazyAnnotationDescription.UnresolvedAnnotationList
- All Implemented Interfaces:
Iterable<AnnotationDescription>
,Collection<AnnotationDescription>
,List<AnnotationDescription>
,SequencedCollection<AnnotationDescription>
,AnnotationList
,FilterableList<AnnotationDescription,
AnnotationList>
- Enclosing class:
TypePool.Default.LazyTypeDescription.LazyAnnotationDescription
private static class TypePool.Default.LazyTypeDescription.LazyAnnotationDescription.UnresolvedAnnotationList
extends AnnotationList.Explicit
A list of annotations which allows for resolving the names of the annotations even if the annotations cannot be resolved.
-
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 TypePool.Default.LazyTypeDescription.AnnotationToken> The list of represented annotation tokens.Fields inherited from class java.util.AbstractList
modCount
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
UnresolvedAnnotationList
(List<? extends AnnotationDescription> annotationDescriptions, List<? extends TypePool.Default.LazyTypeDescription.AnnotationToken> tokens) Creates a list of unresolved annotations. -
Method Summary
Modifier and TypeMethodDescriptionReturns a list of the names of the annotation types.Methods inherited from class net.bytebuddy.description.annotation.AnnotationList.Explicit
asList, get, 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, 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
-
tokens
The list of represented annotation tokens.
-
-
Constructor Details
-
UnresolvedAnnotationList
private UnresolvedAnnotationList(List<? extends AnnotationDescription> annotationDescriptions, List<? extends TypePool.Default.LazyTypeDescription.AnnotationToken> tokens) Creates a list of unresolved annotations.- Parameters:
annotationDescriptions
- The list of represented annotation descriptions.tokens
- The list of represented annotation tokens.
-
-
Method Details
-
asTypeNames
Description copied from class:AnnotationList.AbstractBase
Returns a list of the names of the annotation types. This list might contain the names of annotations that are not otherwise resolvable.- Specified by:
asTypeNames
in interfaceAnnotationList
- Overrides:
asTypeNames
in classAnnotationList.AbstractBase
- Returns:
- A list of binary names of the represented annotations.
-