Class TypeDescription.Generic.LazyProjection.WithLazyNavigation.LazyInterfaceList
java.lang.Object
java.util.AbstractCollection<TypeDescription.Generic>
java.util.AbstractList<TypeDescription.Generic>
net.bytebuddy.matcher.FilterableList.AbstractBase<TypeDescription.Generic, TypeList.Generic>
net.bytebuddy.description.type.TypeList.Generic.AbstractBase
net.bytebuddy.description.type.TypeDescription.Generic.LazyProjection.WithLazyNavigation.LazyInterfaceList
- All Implemented Interfaces:
Iterable<TypeDescription.Generic>, Collection<TypeDescription.Generic>, List<TypeDescription.Generic>, SequencedCollection<TypeDescription.Generic>, TypeList.Generic, FilterableList<TypeDescription.Generic, TypeList.Generic>
- Enclosing class:
TypeDescription.Generic.LazyProjection.WithLazyNavigation
protected static class TypeDescription.Generic.LazyProjection.WithLazyNavigation.LazyInterfaceList
extends TypeList.Generic.AbstractBase
A lazy representation of a lazy projection's interfaces.
-
Nested Class Summary
Nested classes/interfaces inherited from interface FilterableList
FilterableList.AbstractBase<T,S>, FilterableList.Empty<T, S> Nested classes/interfaces inherited from interface TypeList.Generic
TypeList.Generic.AbstractBase, TypeList.Generic.Empty, TypeList.Generic.Explicit, TypeList.Generic.ForDetachedTypes, TypeList.Generic.ForLoadedTypes, TypeList.Generic.OfConstructorExceptionTypes, TypeList.Generic.OfLoadedInterfaceTypes, TypeList.Generic.OfMethodExceptionTypes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final TypeDescription.Generic.LazyProjectionThe lazy projection for which this description is a delegate.private final TypeList.GenericA list of raw interface types declared by the lazy projection's erasure.Fields inherited from class AbstractList
modCount -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedLazyInterfaceList(TypeDescription.Generic.LazyProjection delegate, TypeList.Generic rawInterfaces) Creates a new lazy interface list. -
Method Summary
Modifier and TypeMethodDescriptionget(int index) protected static TypeList.Genericof(TypeDescription.Generic.LazyProjection delegate) Resolves a lazy interface list.intsize()Methods inherited from class TypeList.Generic.AbstractBase
accept, asErasures, asRawTypes, asTokenList, getStackSize, wrapMethods inherited from class FilterableList.AbstractBase
filter, getOnly, subListMethods inherited from class AbstractList
add, add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, setMethods inherited from class AbstractCollection
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toStringMethods inherited from interface Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface FilterableList
filter, getOnly, subListMethods inherited from interface List
add, add, addAll, addAll, addFirst, addLast, clear, contains, containsAll, equals, getFirst, getLast, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeFirst, removeLast, replaceAll, retainAll, reversed, set, sort, spliterator, toArray, toArray
-
Field Details
-
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.
-
-
Constructor Details
-
LazyInterfaceList
protected LazyInterfaceList(TypeDescription.Generic.LazyProjection delegate, TypeList.Generic rawInterfaces) Creates a new lazy interface list.- Parameters:
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.
-
-
Method Details
-
of
Resolves a lazy interface list.- Parameters:
delegate- The delegate for which to represent interfaces.- Returns:
- A lazy list representing the delegate's interfaces lazily.
-
get
- Specified by:
getin interfaceList<TypeDescription.Generic>- Specified by:
getin classAbstractList<TypeDescription.Generic>
-
size
public int size()- Specified by:
sizein interfaceCollection<TypeDescription.Generic>- Specified by:
sizein interfaceList<TypeDescription.Generic>- Specified by:
sizein classAbstractCollection<TypeDescription.Generic>
-