Package net.bytebuddy.description.type
Class TypeList.Generic.ForDetachedTypes.WithResolvedErasure
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.TypeList.Generic.ForDetachedTypes.WithResolvedErasure
- All Implemented Interfaces:
Iterable<TypeDescription.Generic>
,Collection<TypeDescription.Generic>
,List<TypeDescription.Generic>
,SequencedCollection<TypeDescription.Generic>
,TypeList.Generic
,FilterableList<TypeDescription.Generic,
TypeList.Generic>
- Enclosing class:
TypeList.Generic.ForDetachedTypes
public static class TypeList.Generic.ForDetachedTypes.WithResolvedErasure
extends TypeList.Generic.AbstractBase
A list of detached types that are attached on reception but not when computing an erasure.
-
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 List
<? extends TypeDescription.Generic> The detached types this list represents.private final TypeDescription.Generic.Visitor
<? extends TypeDescription.Generic> The visitor to use for attaching the detached types.Fields inherited from class java.util.AbstractList
modCount
-
Constructor Summary
ConstructorsConstructorDescriptionWithResolvedErasure
(List<? extends TypeDescription.Generic> detachedTypes, TypeDescription.Generic.Visitor<? extends TypeDescription.Generic> visitor) Creates a list of generic type descriptions that are resolved lazily, i.e. -
Method Summary
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, 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
-
detachedTypes
The detached types this list represents. -
visitor
The visitor to use for attaching the detached types.
-
-
Constructor Details
-
WithResolvedErasure
public WithResolvedErasure(List<? extends TypeDescription.Generic> detachedTypes, TypeDescription.Generic.Visitor<? extends TypeDescription.Generic> visitor) Creates a list of generic type descriptions that are resolved lazily, i.e. type variables are not resolved when computing an erasure.- Parameters:
detachedTypes
- The detached types this list represents.visitor
- The visitor to use for attaching the detached types.
-
-
Method Details
-
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>
-