public static class TypeList.Generic.ForLoadedTypes extends TypeList.Generic.AbstractBase
Modifier and Type | Class and Description |
---|---|
static class |
TypeList.Generic.ForLoadedTypes.OfTypeVariables
A type list that represents loaded type variables.
|
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 java.lang.reflect.Type> |
types
The loaded types this list represents.
|
Constructor and Description |
---|
ForLoadedTypes(java.util.List<? extends java.lang.reflect.Type> types)
Creates a list of loaded generic types.
|
ForLoadedTypes(java.lang.reflect.Type... type)
Creates a list of loaded generic types.
|
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 java.util.List<? extends java.lang.reflect.Type> types
public ForLoadedTypes(java.lang.reflect.Type... type)
type
- The loaded types this list represents.public ForLoadedTypes(java.util.List<? extends java.lang.reflect.Type> types)
types
- The loaded types this list represents.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>