Package net.bytebuddy.description.type
Class TypeDescription.Generic.LazyProjection.WithLazyNavigation.LazyInterfaceList
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<T>
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>
,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 net.bytebuddy.matcher.FilterableList
FilterableList.AbstractBase<T,
S extends FilterableList<T, S>>, FilterableList.Empty<T, S extends FilterableList<T, S>> Nested classes/interfaces inherited from interface net.bytebuddy.description.type.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.LazyProjection
The lazy projection for which this description is a delegate.private final TypeList.Generic
A list of raw interface types declared by the lazy projection's erasure.Fields inherited from class java.util.AbstractList
modCount
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
LazyInterfaceList
(TypeDescription.Generic.LazyProjection delegate, TypeList.Generic rawInterfaces) Creates a new lazy interface list. -
Method Summary
Modifier and TypeMethodDescriptionget
(int index) protected static TypeList.Generic
of
(TypeDescription.Generic.LazyProjection delegate) Resolves a lazy interface list.int
size()
Methods inherited from class net.bytebuddy.description.type.TypeList.Generic.AbstractBase
accept, asErasures, asRawTypes, asTokenList, getStackSize, wrap
Methods inherited from class net.bytebuddy.matcher.FilterableList.AbstractBase
filter, getOnly, subList
Methods inherited from class java.util.AbstractList
add, add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, set
Methods inherited from class java.util.AbstractCollection
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
Methods inherited from interface net.bytebuddy.matcher.FilterableList
filter, getOnly, subList
Methods inherited from interface java.util.List
add, add, addAll, addAll, clear, contains, containsAll, equals, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, replaceAll, retainAll, 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:
get
in interfaceList<TypeDescription.Generic>
- Specified by:
get
in classAbstractList<TypeDescription.Generic>
-
size
public int size()- Specified by:
size
in interfaceCollection<TypeDescription.Generic>
- Specified by:
size
in interfaceList<TypeDescription.Generic>
- Specified by:
size
in classAbstractCollection<TypeDescription.Generic>
-