protected static class TypePool.Default.LazyTypeDescription.LazyNestMemberList extends TypeList.AbstractBase
TypeList.AbstractBase, TypeList.Empty, TypeList.Explicit, TypeList.ForLoadedTypes, TypeList.Generic
Modifier and Type | Field and Description |
---|---|
private java.util.List<java.lang.String> |
nestMembers
The binary names of all nest members of this nest mate group excluding the represented type.
|
private TypeDescription |
typeDescription
The type for which the nest members are represented.
|
private TypePool |
typePool
The type pool to use for looking up types.
|
NO_INTERFACES
Modifier | Constructor and Description |
---|---|
protected |
LazyNestMemberList(TypeDescription typeDescription,
TypePool typePool,
java.util.List<java.lang.String> nestMembers)
Creates a new lazy type list of all nest members of this group.
|
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.
|
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 TypeDescription typeDescription
private final TypePool typePool
private final java.util.List<java.lang.String> nestMembers
protected LazyNestMemberList(TypeDescription typeDescription, TypePool typePool, java.util.List<java.lang.String> nestMembers)
typeDescription
- The type for which the nest members are represented.typePool
- The type pool to use for looking up types.nestMembers
- The binary names of all nest members of this nest mate group excluding the represented type.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 TypeList
toInternalNames
in class TypeList.AbstractBase
null
if the list is empty.public int getStackSize()
getStackSize
in interface TypeList
getStackSize
in class TypeList.AbstractBase