protected class TypePool.LazyTypeDescription.LazyTypeList extends FilterableList.AbstractBase<TypeDescription,TypeList> implements TypeList
TypePool.LazyTypeDescriptions.TypeList.Empty, TypeList.Explicit, TypeList.ForLoadedTypeFilterableList.AbstractBase<T,S extends FilterableList<T,S>>modCount| Modifier | Constructor and Description |
|---|---|
protected |
LazyTypeList(String methodDescriptor)
Creates a new type list for a method's parameter types.
|
protected |
LazyTypeList(String[] internalName)
Creates a new type list for a list of internal names.
|
| 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() |
String[] |
toInternalNames()
Returns a list of internal names of all types represented by this list.
|
protected TypeList |
wrap(List<TypeDescription> values)
Represents a list of values as an instance of this instance's list type.
|
filter, 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 LazyTypeList(String methodDescriptor)
methodDescriptor - The method which arguments should be represented in this type list.protected LazyTypeList(String[] internalName)
internalName - The internal names to represent by this type list. This list must not
contain primitive types.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>public String[] toInternalNames()
TypeListtoInternalNames in interface TypeListnull if the list is empty.public int getStackSize()
TypeListgetStackSize in interface TypeListprotected TypeList wrap(List<TypeDescription> values)
FilterableList.AbstractBasewrap in class FilterableList.AbstractBase<TypeDescription,TypeList>values - The values to wrap in an instance of this list's type.values.Copyright © 2014–2015. All rights reserved.