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 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 TypePool.Default.LazyTypeDescription.AnnotationToken> The list of represented annotation tokens.Fields inherited from class AbstractList
modCount -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateUnresolvedAnnotationList(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 AnnotationList.Explicit
asList, get, sizeMethods inherited from class AnnotationList.AbstractBase
asTypeList, 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
-
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.AbstractBaseReturns a list of the names of the annotation types. This list might contain the names of annotations that are not otherwise resolvable.- Specified by:
asTypeNamesin interfaceAnnotationList- Overrides:
asTypeNamesin classAnnotationList.AbstractBase- Returns:
- A list of binary names of the represented annotations.
-