public static class GenericTypeList.ForDetachedTypes extends GenericTypeList.AbstractBase
| Modifier and Type | Class and Description |
|---|---|
static class |
GenericTypeList.ForDetachedTypes.OfTypeVariable
A list of type variables that are attached on reception.
|
GenericTypeList.AbstractBase, GenericTypeList.Empty, GenericTypeList.Explicit, GenericTypeList.ForDetachedTypes, GenericTypeList.ForLoadedType, GenericTypeList.OfConstructorExceptionTypes, GenericTypeList.OfLoadedInterfaceTypes, GenericTypeList.OfMethodExceptionTypesmodCount| Constructor and Description |
|---|
ForDetachedTypes(List<? extends GenericTypeDescription> detachedTypes,
GenericTypeDescription.Visitor<? extends GenericTypeDescription> visitor)
Creates a list of detached types that are attached on reception.
|
| Modifier and Type | Method and Description |
|---|---|
static GenericTypeList |
attach(FieldDescription fieldDescription,
List<? extends GenericTypeDescription> detachedTypes)
Creates a list of types that are attached to the provided field.
|
static GenericTypeList |
attach(MethodDescription methodDescription,
List<? extends GenericTypeDescription> detachedTypes)
Creates a list of types that are attached to the provided method.
|
static GenericTypeList |
attach(ParameterDescription parameterDescription,
List<? extends GenericTypeDescription> detachedTypes)
Creates a list of types that are attached to the provided parameter.
|
static GenericTypeList |
attach(TypeDescription typeDescription,
List<? extends GenericTypeDescription> detachedTypes)
Creates a list of types that are attached to the provided type.
|
GenericTypeDescription |
get(int index) |
int |
size() |
accept, asErasures, 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 GenericTypeDescription> detachedTypes, GenericTypeDescription.Visitor<? extends GenericTypeDescription> visitor)
detachedTypes - The detached types this list represents.visitor - The visitor to use for attaching the detached types.public static GenericTypeList attach(TypeDescription typeDescription, List<? extends GenericTypeDescription> detachedTypes)
typeDescription - The type to which the detached variables are attached to.detachedTypes - The detached types.public static GenericTypeList attach(FieldDescription fieldDescription, List<? extends GenericTypeDescription> detachedTypes)
fieldDescription - The field to which the detached variables are attached to.detachedTypes - The detached types.public static GenericTypeList attach(MethodDescription methodDescription, List<? extends GenericTypeDescription> detachedTypes)
methodDescription - The method to which the detached variables are attached to.detachedTypes - The detached types.public static GenericTypeList attach(ParameterDescription parameterDescription, List<? extends GenericTypeDescription> detachedTypes)
parameterDescription - The parameter to which the detached variables are attached to.detachedTypes - The detached types.public GenericTypeDescription get(int index)
get in interface List<GenericTypeDescription>get in class AbstractList<GenericTypeDescription>public int size()
size in interface Collection<GenericTypeDescription>size in interface List<GenericTypeDescription>size in class AbstractCollection<GenericTypeDescription>Copyright © 2014–2015. All rights reserved.