public static class TypeList.Generic.ForDetachedTypes.OfTypeVariables extends TypeList.Generic.AbstractBase
Modifier and Type | Class and Description |
---|---|
protected static class |
TypeList.Generic.ForDetachedTypes.OfTypeVariables.AttachedTypeVariable
A wrapper for representing a type variable in its attached state.
|
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.List<? extends TypeVariableToken> |
detachedTypeVariables
A token representing the type variable in its detached state.
|
private TypeVariableSource |
typeVariableSource
The type variable's source.
|
private TypeDescription.Generic.Visitor<? extends TypeDescription.Generic> |
visitor
A visitor for attaching the type variable's bounds.
|
Constructor and Description |
---|
OfTypeVariables(TypeVariableSource typeVariableSource,
java.util.List<? extends TypeVariableToken> detachedTypeVariables,
TypeDescription.Generic.Visitor<? extends TypeDescription.Generic> visitor)
Creates a new list of attached type variables representing a list of type variable tokens.
|
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 TypeVariableSource typeVariableSource
private final java.util.List<? extends TypeVariableToken> detachedTypeVariables
private final TypeDescription.Generic.Visitor<? extends TypeDescription.Generic> visitor
public OfTypeVariables(TypeVariableSource typeVariableSource, java.util.List<? extends TypeVariableToken> detachedTypeVariables, TypeDescription.Generic.Visitor<? extends TypeDescription.Generic> visitor)
typeVariableSource
- The type variable's source.detachedTypeVariables
- A token representing the type variable in its detached state.visitor
- A visitor for attaching the type variable's bounds.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>