Package net.bytebuddy.pool
Class TypePool.Default.LazyTypeDescription.LazyAnnotationDescription.UnresolvedAnnotationList
- 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
-
- net.bytebuddy.pool.TypePool.Default.LazyTypeDescription.LazyAnnotationDescription.UnresolvedAnnotationList
-
- All Implemented Interfaces:
java.lang.Iterable<AnnotationDescription>
,java.util.Collection<AnnotationDescription>
,java.util.List<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
Fields Modifier and Type Field Description private java.util.List<? extends TypePool.Default.LazyTypeDescription.AnnotationToken>
tokens
The list of represented annotation tokens.
-
Constructor Summary
Constructors Modifier Constructor Description private
UnresolvedAnnotationList(java.util.List<? extends AnnotationDescription> annotationDescriptions, java.util.List<? extends TypePool.Default.LazyTypeDescription.AnnotationToken> tokens)
Creates a list of unresolved annotations.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<java.lang.String>
asTypeNames()
Returns 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 net.bytebuddy.matcher.FilterableList
filter, getOnly, subList
-
-
-
-
Field Detail
-
tokens
private final java.util.List<? extends TypePool.Default.LazyTypeDescription.AnnotationToken> tokens
The list of represented annotation tokens.
-
-
Constructor Detail
-
UnresolvedAnnotationList
private UnresolvedAnnotationList(java.util.List<? extends AnnotationDescription> annotationDescriptions, java.util.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 Detail
-
asTypeNames
public java.util.List<java.lang.String> 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.
-
-