protected static class TypePool.Default.LazyTypeDescription.TokenizedGenericType.TypeVariableList extends TypeList.Generic.AbstractBase
TypeList.Generic.AbstractBase, TypeList.Generic.Empty, TypeList.Generic.Explicit, TypeList.Generic.ForDetachedTypes, TypeList.Generic.ForLoadedTypes, TypeList.Generic.OfConstructorExceptionTypes, TypeList.Generic.OfLoadedInterfaceTypes, TypeList.Generic.OfMethodExceptionTypes| Modifier and Type | Field and Description |
|---|---|
private java.util.Map<java.lang.Integer,java.util.Map<java.lang.String,java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken>>> |
annotationTokens
A mapping of the type variables' type annotation tokens by their indices.
|
private java.util.Map<java.lang.Integer,java.util.Map<java.lang.Integer,java.util.Map<java.lang.String,java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken>>>> |
boundAnnotationTokens
A mapping of the type variables' bound types' annotation tokens by their indices and each type variable's index..
|
private TypePool |
typePool
The type pool to use for locating types.
|
private java.util.List<TypePool.Default.LazyTypeDescription.GenericTypeToken.OfFormalTypeVariable> |
typeVariables
Type tokens that describe the represented type variables.
|
private TypeVariableSource |
typeVariableSource
The type variable source of the represented type variables.
|
| Modifier | Constructor and Description |
|---|---|
protected |
TypeVariableList(TypePool typePool,
java.util.List<TypePool.Default.LazyTypeDescription.GenericTypeToken.OfFormalTypeVariable> typeVariables,
TypeVariableSource typeVariableSource,
java.util.Map<java.lang.Integer,java.util.Map<java.lang.String,java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken>>> annotationTokens,
java.util.Map<java.lang.Integer,java.util.Map<java.lang.Integer,java.util.Map<java.lang.String,java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken>>>> boundAnnotationTokens)
Creates a list of type variables.
|
| Modifier and Type | Method and Description |
|---|---|
TypeDescription.Generic |
get(int index) |
int |
size() |
accept, asErasures, asRawTypes, asTokenList, getStackSize, wrapfilter, getOnly, subListadd, add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, setaddAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitfilter, getOnly, subListprivate final TypePool typePool
private final java.util.List<TypePool.Default.LazyTypeDescription.GenericTypeToken.OfFormalTypeVariable> typeVariables
private final TypeVariableSource typeVariableSource
private final java.util.Map<java.lang.Integer,java.util.Map<java.lang.String,java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken>>> annotationTokens
private final java.util.Map<java.lang.Integer,java.util.Map<java.lang.Integer,java.util.Map<java.lang.String,java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken>>>> boundAnnotationTokens
protected TypeVariableList(TypePool typePool, java.util.List<TypePool.Default.LazyTypeDescription.GenericTypeToken.OfFormalTypeVariable> typeVariables, TypeVariableSource typeVariableSource, java.util.Map<java.lang.Integer,java.util.Map<java.lang.String,java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken>>> annotationTokens, java.util.Map<java.lang.Integer,java.util.Map<java.lang.Integer,java.util.Map<java.lang.String,java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken>>>> boundAnnotationTokens)
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.public TypeDescription.Generic get(int index)
get in interface java.util.List<TypeDescription.Generic>get in class java.util.AbstractList<TypeDescription.Generic>public int size()
size in interface java.util.Collection<TypeDescription.Generic>size in interface java.util.List<TypeDescription.Generic>size in class java.util.AbstractCollection<TypeDescription.Generic>