protected static class TypeDescription.SuperTypeLoading.ClassLoadingTypeList extends TypeList.Generic.AbstractBase
TypeList.Generic.AbstractBase, TypeList.Generic.Empty, TypeList.Generic.Explicit, TypeList.Generic.ForDetachedTypes, TypeList.Generic.ForLoadedTypes, TypeList.Generic.OfConstructorExceptionTypes, TypeList.Generic.OfLoadedInterfaceTypes, TypeList.Generic.OfMethodExceptionTypes
Modifier and Type | Field and Description |
---|---|
private java.lang.ClassLoader |
classLoader
The class loader to use for loading types which might be
null to represent the bootstrap class loader. |
private TypeDescription.SuperTypeLoading.ClassLoadingDelegate |
classLoadingDelegate
A delegate for loading a type.
|
private TypeList.Generic |
delegate
The delegate type list.
|
Modifier | Constructor and Description |
---|---|
protected |
ClassLoadingTypeList(TypeList.Generic delegate,
java.lang.ClassLoader classLoader,
TypeDescription.SuperTypeLoading.ClassLoadingDelegate classLoadingDelegate)
Creates a class loading type list.
|
Modifier and Type | Method and Description |
---|---|
TypeDescription.Generic |
get(int index) |
int |
size() |
accept, asErasures, asRawTypes, asTokenList, getStackSize, 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 TypeList.Generic delegate
private final java.lang.ClassLoader classLoader
null
to represent the bootstrap class loader.private final TypeDescription.SuperTypeLoading.ClassLoadingDelegate classLoadingDelegate
protected ClassLoadingTypeList(TypeList.Generic delegate, java.lang.ClassLoader classLoader, TypeDescription.SuperTypeLoading.ClassLoadingDelegate classLoadingDelegate)
delegate
- The delegate type list.classLoader
- The class loader to use for loading types which might be null
to represent the bootstrap class loader.classLoadingDelegate
- A delegate for loading a type.public TypeDescription.Generic get(int index)
get
in interface java.util.List<TypeDescription.Generic>
get
in class java.util.AbstractList<TypeDescription.Generic>
public int size()
size
in interface java.util.Collection<TypeDescription.Generic>
size
in interface java.util.List<TypeDescription.Generic>
size
in class java.util.AbstractCollection<TypeDescription.Generic>