Package net.bytebuddy.pool
Class TypePool.Default.LazyTypeDescription.TokenizedGenericType.TypeVariableList
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.TokenizedGenericType.TypeVariableList
- All Implemented Interfaces:
Iterable<TypeDescription.Generic>,Collection<TypeDescription.Generic>,List<TypeDescription.Generic>,SequencedCollection<TypeDescription.Generic>,TypeList.Generic,FilterableList<TypeDescription.Generic,TypeList.Generic>
- Enclosing class:
TypePool.Default.LazyTypeDescription.TokenizedGenericType
protected static class TypePool.Default.LazyTypeDescription.TokenizedGenericType.TypeVariableList
extends TypeList.Generic.AbstractBase
A list of tokenized type variables.
-
Nested Class Summary
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>> Nested classes/interfaces inherited from interface net.bytebuddy.description.type.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 TypeFieldDescriptionA mapping of the type variables' type annotation tokens by their indices.private final Map<Integer, Map<Integer, Map<String, List<TypePool.Default.LazyTypeDescription.AnnotationToken>>>> A mapping of the type variables' bound types' annotation tokens by their indices and each type variable's index..private final TypePoolThe type pool to use for locating types.Type tokens that describe the represented type variables.private final TypeVariableSourceThe type variable source of the represented type variables.Fields inherited from class java.util.AbstractList
modCount -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedTypeVariableList(TypePool typePool, List<TypePool.Default.LazyTypeDescription.GenericTypeToken.OfFormalTypeVariable> typeVariables, TypeVariableSource typeVariableSource, Map<Integer, Map<String, List<TypePool.Default.LazyTypeDescription.AnnotationToken>>> annotationTokens, Map<Integer, Map<Integer, Map<String, List<TypePool.Default.LazyTypeDescription.AnnotationToken>>>> boundAnnotationTokens) Creates a list of type variables. -
Method Summary
Methods inherited from class net.bytebuddy.description.type.TypeList.Generic.AbstractBase
accept, asErasures, asRawTypes, asTokenList, getStackSize, wrapMethods inherited from class net.bytebuddy.matcher.FilterableList.AbstractBase
filter, getOnly, subListMethods inherited from class java.util.AbstractList
add, add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, setMethods inherited from class java.util.AbstractCollection
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface net.bytebuddy.matcher.FilterableList
filter, getOnly, subListMethods 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
-
typePool
The type pool to use for locating types. -
typeVariables
private final List<TypePool.Default.LazyTypeDescription.GenericTypeToken.OfFormalTypeVariable> typeVariablesType tokens that describe the represented type variables. -
typeVariableSource
The type variable source of the represented type variables. -
annotationTokens
private final Map<Integer,Map<String, annotationTokensList<TypePool.Default.LazyTypeDescription.AnnotationToken>>> A mapping of the type variables' type annotation tokens by their indices. -
boundAnnotationTokens
private final Map<Integer,Map<Integer, boundAnnotationTokensMap<String, List<TypePool.Default.LazyTypeDescription.AnnotationToken>>>> A mapping of the type variables' bound types' annotation tokens by their indices and each type variable's index..
-
-
Constructor Details
-
TypeVariableList
protected TypeVariableList(TypePool typePool, List<TypePool.Default.LazyTypeDescription.GenericTypeToken.OfFormalTypeVariable> typeVariables, TypeVariableSource typeVariableSource, Map<Integer, Map<String, List<TypePool.Default.LazyTypeDescription.AnnotationToken>>> annotationTokens, Map<Integer, Map<Integer, Map<String, List<TypePool.Default.LazyTypeDescription.AnnotationToken>>>> boundAnnotationTokens) Creates a list of type variables.- Parameters:
typePool- The type pool to use for locating types.typeVariables- Type tokens that describe the represented generic types.typeVariableSource- The type variable source of the represented type variables.annotationTokens- A mapping of the type variables' type annotation tokens by their indices.boundAnnotationTokens- A mapping of the type variables' bound types' annotation tokens by their indices and each type variable's index.
-
-
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>
-