protected static class TypePool.Default.LazyTypeDescription.LazyTypeList extends TypeList.AbstractBase
TypePool.Default.WithLazyResolution.LazyTypeDescriptions.TypeList.AbstractBase, TypeList.Empty, TypeList.Explicit, TypeList.ForLoadedTypes, TypeList.Generic| Modifier and Type | Field and Description |
|---|---|
private java.util.List<java.lang.String> |
descriptors
A list of type descriptors that this list represents.
|
private TypePool |
typePool
The type pool to use for locating types.
|
NO_INTERFACES| Modifier | Constructor and Description |
|---|---|
protected |
LazyTypeList(TypePool typePool,
java.util.List<java.lang.String> descriptors)
Creates a list of lazy type descriptions.
|
| Modifier and Type | Method and Description |
|---|---|
TypeDescription |
get(int index) |
int |
getStackSize()
Returns the sum of the size of all types contained in this list.
|
int |
size() |
java.lang.String[] |
toInternalNames()
Returns a list of internal names of all types represented by this list.
|
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, subListprivate final TypePool typePool
private final java.util.List<java.lang.String> descriptors
protected LazyTypeList(TypePool typePool, java.util.List<java.lang.String> descriptors)
typePool - The type pool to use for locating types.descriptors - A list of type descriptors that this list represents.public TypeDescription get(int index)
get in interface java.util.List<TypeDescription>get in class java.util.AbstractList<TypeDescription>public int size()
size in interface java.util.Collection<TypeDescription>size in interface java.util.List<TypeDescription>size in class java.util.AbstractCollection<TypeDescription>public java.lang.String[] toInternalNames()
toInternalNames in interface TypeListtoInternalNames in class TypeList.AbstractBasenull if the list is empty.public int getStackSize()
getStackSize in interface TypeListgetStackSize in class TypeList.AbstractBase