public static class TypeList.Explicit extends TypeList.AbstractBase
TypeList.AbstractBase, TypeList.Empty, TypeList.Explicit, TypeList.ForLoadedTypes, TypeList.GenericmodCountNO_INTERFACES, UNDEFINED| Constructor and Description |
|---|
Explicit(List<? extends TypeDescription> typeDescriptions)
Creates an immutable wrapper.
|
Explicit(TypeDescription... typeDescription)
Creates an immutable wrapper.
|
| Modifier and Type | Method and Description |
|---|---|
TypeDescription |
get(int index) |
static TypeList |
of(List<? extends JavaConstant> constants)
Returns a list of types of the supplied Java constants.
|
int |
size() |
asGenericTypes, getStackSize, toInternalNames, 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 Explicit(TypeDescription... typeDescription)
typeDescription - The list of types to be represented by this wrapper.public Explicit(List<? extends TypeDescription> typeDescriptions)
typeDescriptions - The list of types to be represented by this wrapper.public static TypeList of(List<? extends JavaConstant> constants)
constants - The Java constants to represent as type descriptions.public TypeDescription get(int index)
get in interface List<TypeDescription>get in class AbstractList<TypeDescription>public int size()
size in interface Collection<TypeDescription>size in interface List<TypeDescription>size in class AbstractCollection<TypeDescription>Copyright © 2014–2025. All rights reserved.