public static class TypeList.Generic.ForLoadedTypes.OfTypeVariables extends TypeList.Generic.AbstractBase
TypeList.Generic.AbstractBase, TypeList.Generic.Empty, TypeList.Generic.Explicit, TypeList.Generic.ForDetachedTypes, TypeList.Generic.ForLoadedTypes, TypeList.Generic.OfConstructorExceptionTypes, TypeList.Generic.OfLoadedInterfaceTypes, TypeList.Generic.OfMethodExceptionTypesmodCount| Modifier | Constructor and Description |
|---|---|
protected |
OfTypeVariables(List<TypeVariable<?>> typeVariables)
Creates a new type list for loaded type variables.
|
protected |
OfTypeVariables(TypeVariable<?>... typeVariable)
Creates a new type list for loaded type variables.
|
| Modifier and Type | Method and Description |
|---|---|
TypeDescription.Generic |
get(int index) |
static TypeList.Generic |
of(GenericDeclaration genericDeclaration)
Creates a list of the type variables of the supplied generic declaration.
|
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, streamprotected OfTypeVariables(TypeVariable<?>... typeVariable)
typeVariable - The type variables this list represents.protected OfTypeVariables(List<TypeVariable<?>> typeVariables)
typeVariables - The type variables this list represents.public static TypeList.Generic of(GenericDeclaration genericDeclaration)
genericDeclaration - The generic declaration to represent.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–2019. All rights reserved.