public static class TypeList.Generic.ForDetachedTypes extends TypeList.Generic.AbstractBase
| Modifier and Type | Class and Description |
|---|---|
static class |
TypeList.Generic.ForDetachedTypes.OfTypeVariables
A list of attached type variables represented by a list of type variable tokens.
|
static class |
TypeList.Generic.ForDetachedTypes.WithResolvedErasure
A list of detached types that are attached on reception but not when computing an erasure.
|
TypeList.Generic.AbstractBase, TypeList.Generic.Empty, TypeList.Generic.Explicit, TypeList.Generic.ForDetachedTypes, TypeList.Generic.ForLoadedTypes, TypeList.Generic.OfConstructorExceptionTypes, TypeList.Generic.OfLoadedInterfaceTypes, TypeList.Generic.OfMethodExceptionTypesmodCount| Constructor and Description |
|---|
ForDetachedTypes(List<? extends TypeDescription.Generic> detachedTypes,
TypeDescription.Generic.Visitor<? extends TypeDescription.Generic> visitor)
Creates a list of detached types that are attached on reception.
|
| Modifier and Type | Method and Description |
|---|---|
static TypeList.Generic |
attach(FieldDescription fieldDescription,
List<? extends TypeDescription.Generic> detachedTypes)
Creates a list of types that are attached to the provided field.
|
static TypeList.Generic |
attach(MethodDescription methodDescription,
List<? extends TypeDescription.Generic> detachedTypes)
Creates a list of types that are attached to the provided method.
|
static TypeList.Generic |
attach(ParameterDescription parameterDescription,
List<? extends TypeDescription.Generic> detachedTypes)
Creates a list of types that are attached to the provided parameter.
|
static TypeList.Generic |
attachVariables(MethodDescription methodDescription,
List<? extends TypeVariableToken> detachedTypeVariables)
Creates a list of type variables that are attached to the provided method.
|
static TypeList.Generic |
attachVariables(TypeDescription typeDescription,
List<? extends TypeVariableToken> detachedTypeVariables)
Creates a list of type variables that are attached to the provided type.
|
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, subListadd, add, addAll, addAll, clear, contains, containsAll, equals, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, replaceAll, retainAll, set, sort, spliterator, toArray, toArrayparallelStream, removeIf, streampublic ForDetachedTypes(List<? extends TypeDescription.Generic> detachedTypes, TypeDescription.Generic.Visitor<? extends TypeDescription.Generic> visitor)
detachedTypes - The detached types this list represents.visitor - The visitor to use for attaching the detached types.public static TypeList.Generic attachVariables(TypeDescription typeDescription, List<? extends TypeVariableToken> detachedTypeVariables)
typeDescription - The type to which the type variables are to be attached to.detachedTypeVariables - A mapping of type variable symbols to their detached type variable bounds.public static TypeList.Generic attach(FieldDescription fieldDescription, List<? extends TypeDescription.Generic> detachedTypes)
fieldDescription - The field to which the detached variables are attached to.detachedTypes - The detached types.public static TypeList.Generic attach(MethodDescription methodDescription, List<? extends TypeDescription.Generic> detachedTypes)
methodDescription - The method to which the detached variables are attached to.detachedTypes - The detached types.public static TypeList.Generic attachVariables(MethodDescription methodDescription, List<? extends TypeVariableToken> detachedTypeVariables)
methodDescription - The method to which the type variables are to be attached to.detachedTypeVariables - A mapping of type variable symbols to their detached type variable bounds.public static TypeList.Generic attach(ParameterDescription parameterDescription, List<? extends TypeDescription.Generic> detachedTypes)
parameterDescription - The parameter to which the detached variables are attached to.detachedTypes - The detached types.public TypeDescription.Generic get(int index)
get in interface List<TypeDescription.Generic>get in class AbstractList<TypeDescription.Generic>public int size()
size in interface Collection<TypeDescription.Generic>size in interface List<TypeDescription.Generic>size in class AbstractCollection<TypeDescription.Generic>Copyright © 2014–2025. All rights reserved.