protected static class TypePool.Default.LazyTypeDescription.GenericTypeToken.LazyTokenList.ForWildcardBound 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.String,java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken>> |
annotationTokens
A mapping of the represent types' annotation tokens.
|
private TypePool.Default.LazyTypeDescription.GenericTypeToken |
genericTypeToken
A token representing the wildcard's bound.
|
private java.lang.String |
typePath
The represented types' type path to which a wildcard step is added upon resolution.
|
private TypePool |
typePool
The type pool that is used for locating a generic type.
|
private TypeVariableSource |
typeVariableSource
The type variable source to use for resolving type variables.
|
Modifier | Constructor and Description |
---|---|
protected |
ForWildcardBound(TypePool typePool,
TypeVariableSource typeVariableSource,
java.lang.String typePath,
java.util.Map<java.lang.String,java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken>> annotationTokens,
TypePool.Default.LazyTypeDescription.GenericTypeToken genericTypeToken) |
Modifier and Type | Method and Description |
---|---|
TypeDescription.Generic |
get(int index) |
int |
size() |
accept, asErasures, asRawTypes, asTokenList, getStackSize, wrap
filter, getOnly, subList
add, add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, set
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
filter, getOnly, subList
private final TypePool typePool
private final TypeVariableSource typeVariableSource
private final java.lang.String typePath
private final java.util.Map<java.lang.String,java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken>> annotationTokens
private final TypePool.Default.LazyTypeDescription.GenericTypeToken genericTypeToken
protected ForWildcardBound(TypePool typePool, TypeVariableSource typeVariableSource, java.lang.String typePath, java.util.Map<java.lang.String,java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken>> annotationTokens, TypePool.Default.LazyTypeDescription.GenericTypeToken genericTypeToken)
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 a wildcard step is added upon resolution.annotationTokens
- A mapping of the represent types' annotation tokens,genericTypeToken
- A token representing the wildcard's bound.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>