public static class GenericTypeList.ForDetachedTypes.OfTypeVariable extends GenericTypeList.AbstractBase
| Modifier and Type | Class and Description |
|---|---|
protected static class |
GenericTypeList.ForDetachedTypes.OfTypeVariable.LazyTypeVariable
A lazy type variable.
|
GenericTypeList.AbstractBase, GenericTypeList.Empty, GenericTypeList.Explicit, GenericTypeList.ForDetachedTypes, GenericTypeList.ForLoadedType, GenericTypeList.OfConstructorExceptionTypes, GenericTypeList.OfLoadedInterfaceTypes, GenericTypeList.OfMethodExceptionTypesmodCount| Modifier | Constructor and Description |
|---|---|
protected |
OfTypeVariable(TypeVariableSource typeVariableSource,
GenericTypeDescription.Visitor<? extends GenericTypeDescription> visitor,
List<? extends GenericTypeDescription> detachedTypes)
Creates a new list of attached type variables.
|
| Modifier and Type | Method and Description |
|---|---|
static GenericTypeList |
attach(MethodDescription methodDescription,
List<? extends GenericTypeDescription> detachedTypes)
Creates a list of detached type variables that are attached on reception.
|
static GenericTypeList |
attach(TypeDescription typeDescription,
List<? extends GenericTypeDescription> detachedTypes)
Creates a list of detached type variables that are attached on reception.
|
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, streamprotected OfTypeVariable(TypeVariableSource typeVariableSource, GenericTypeDescription.Visitor<? extends GenericTypeDescription> visitor, List<? extends GenericTypeDescription> detachedTypes)
typeVariableSource - The type variable source of the represented type variables.visitor - The visitor to use for attaching the represented types.detachedTypes - A list of detached types that are attached on reception.public static GenericTypeList attach(TypeDescription typeDescription, List<? extends GenericTypeDescription> detachedTypes)
typeDescription - The type of which the type variables are defined.detachedTypes - The detached type variable bounds this list represents.public static GenericTypeList attach(MethodDescription methodDescription, List<? extends GenericTypeDescription> detachedTypes)
methodDescription - The method by which the type variables are defined.detachedTypes - The detached type variable bounds this list represents.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.