public static class TypeList.ForLoadedTypes extends TypeList.AbstractBase
TypeList.AbstractBase, TypeList.Empty, TypeList.Explicit, TypeList.ForLoadedTypes, TypeList.Generic| Modifier and Type | Field and Description |
|---|---|
private java.util.List<? extends java.lang.Class<?>> |
types
The loaded types this type list represents.
|
NO_INTERFACES| Constructor and Description |
|---|
ForLoadedTypes(java.lang.Class<?>... type)
Creates a new type list for an array of loaded types.
|
ForLoadedTypes(java.util.List<? extends java.lang.Class<?>> types)
Creates a new type list for an array of loaded types.
|
| Modifier and Type | Method and Description |
|---|---|
TypeDescription |
get(int index) |
int |
size() |
java.lang.String[] |
toInternalNames()
Returns a list of internal names of all types represented by this list.
|
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, subListprivate final java.util.List<? extends java.lang.Class<?>> types
public ForLoadedTypes(java.lang.Class<?>... type)
type - The types to be represented by this list.public ForLoadedTypes(java.util.List<? extends java.lang.Class<?>> types)
types - The types to be represented by this list.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.