Class TypePool.Default.LazyTypeDescription.GenericTypeToken.LazyTokenList
java.lang.Object
java.util.AbstractCollection<TypeDescription.Generic>
java.util.AbstractList<TypeDescription.Generic>
net.bytebuddy.matcher.FilterableList.AbstractBase<TypeDescription.Generic, TypeList.Generic>
net.bytebuddy.description.type.TypeList.Generic.AbstractBase
net.bytebuddy.pool.TypePool.Default.LazyTypeDescription.GenericTypeToken.LazyTokenList
- All Implemented Interfaces:
Iterable<TypeDescription.Generic>, Collection<TypeDescription.Generic>, List<TypeDescription.Generic>, SequencedCollection<TypeDescription.Generic>, TypeList.Generic, FilterableList<TypeDescription.Generic, TypeList.Generic>
- Enclosing interface:
TypePool.Default.LazyTypeDescription.GenericTypeToken
public static class TypePool.Default.LazyTypeDescription.GenericTypeToken.LazyTokenList
extends TypeList.Generic.AbstractBase
A lazy list of type tokens.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static classA generic type description representing a tokenized wildcard bound.Nested classes/interfaces inherited from interface FilterableList
FilterableList.AbstractBase<T,S>, FilterableList.Empty<T, S> Nested classes/interfaces inherited from interface TypeList.Generic
TypeList.Generic.AbstractBase, TypeList.Generic.Empty, TypeList.Generic.Explicit, TypeList.Generic.ForDetachedTypes, TypeList.Generic.ForLoadedTypes, TypeList.Generic.OfConstructorExceptionTypes, TypeList.Generic.OfLoadedInterfaceTypes, TypeList.Generic.OfMethodExceptionTypes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Map<String, List<TypePool.Default.LazyTypeDescription.AnnotationToken>> A mapping of the represent types' annotation tokens.private final List<TypePool.Default.LazyTypeDescription.GenericTypeToken> A list of type tokens this list represents.private final StringThe represented types' type path to which an index step is added upon resolution.private final TypePoolThe type pool that is used for locating a generic type.private final TypeVariableSourceThe type variable source to use for resolving type variables.Fields inherited from class AbstractList
modCount -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedLazyTokenList(TypePool typePool, TypeVariableSource typeVariableSource, String typePath, Map<String, List<TypePool.Default.LazyTypeDescription.AnnotationToken>> annotationTokens, List<TypePool.Default.LazyTypeDescription.GenericTypeToken> genericTypeTokens) Creates a new type list that represents a list of tokenized types. -
Method Summary
Methods inherited from class TypeList.Generic.AbstractBase
accept, asErasures, asRawTypes, asTokenList, getStackSize, 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
-
typePool
The type pool that is used for locating a generic type. -
typeVariableSource
The type variable source to use for resolving type variables. -
typePath
The represented types' type path to which an index step is added upon resolution. -
annotationTokens
private final Map<String, List<TypePool.Default.LazyTypeDescription.AnnotationToken>> annotationTokensA mapping of the represent types' annotation tokens. -
genericTypeTokens
A list of type tokens this list represents.
-
-
Constructor Details
-
LazyTokenList
protected LazyTokenList(TypePool typePool, TypeVariableSource typeVariableSource, String typePath, Map<String, List<TypePool.Default.LazyTypeDescription.AnnotationToken>> annotationTokens, List<TypePool.Default.LazyTypeDescription.GenericTypeToken> genericTypeTokens) Creates a new type list that represents a list of tokenized types.- Parameters:
typePool- The type pool that is used for locating a generic type.typeVariableSource- The type variable source to use for resolving type variables.typePath- The represented types' type path to which an index step is added upon resolution.annotationTokens- A mapping of the represent types' annotation tokens,genericTypeTokens- A list of type tokens this list represents.
-
-
Method Details
-
get
- Specified by:
getin interfaceList<TypeDescription.Generic>- Specified by:
getin classAbstractList<TypeDescription.Generic>
-
size
public int size()- Specified by:
sizein interfaceCollection<TypeDescription.Generic>- Specified by:
sizein interfaceList<TypeDescription.Generic>- Specified by:
sizein classAbstractCollection<TypeDescription.Generic>
-