protected static class TypeDescription.Generic.LazyProjection.WithLazyNavigation.LazyInterfaceList 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 TypeDescription.Generic.LazyProjection |
delegate
The lazy projection for which this description is a delegate.
|
private TypeList.Generic |
rawInterfaces
A list of raw interface types declared by the lazy projection's erasure.
|
Modifier | Constructor and Description |
---|---|
protected |
LazyInterfaceList(TypeDescription.Generic.LazyProjection delegate,
TypeList.Generic rawInterfaces)
Creates a new lazy interface list.
|
Modifier and Type | Method and Description |
---|---|
TypeDescription.Generic |
get(int index) |
protected static TypeList.Generic |
of(TypeDescription.Generic.LazyProjection delegate)
Resolves a lazy interface list.
|
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 TypeDescription.Generic.LazyProjection delegate
private final TypeList.Generic rawInterfaces
protected LazyInterfaceList(TypeDescription.Generic.LazyProjection delegate, TypeList.Generic rawInterfaces)
delegate
- The lazy projection for which this description is a delegate.rawInterfaces
- A list of raw interface types declared by the lazy projection's erasure.protected static TypeList.Generic of(TypeDescription.Generic.LazyProjection delegate)
delegate
- The delegate for which to represent interfaces.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>