Package net.bytebuddy.description.type
Class TypeDescription.Generic.OfWildcardType.ForLoadedType.WildcardLowerBoundTypeList
- 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.OfWildcardType.ForLoadedType.WildcardLowerBoundTypeList
-
- All Implemented Interfaces:
java.lang.Iterable<TypeDescription.Generic>
,java.util.Collection<TypeDescription.Generic>
,java.util.List<TypeDescription.Generic>
,TypeList.Generic
,FilterableList<TypeDescription.Generic,TypeList.Generic>
- Enclosing class:
- TypeDescription.Generic.OfWildcardType.ForLoadedType
protected static class TypeDescription.Generic.OfWildcardType.ForLoadedType.WildcardLowerBoundTypeList extends TypeList.Generic.AbstractBase
A type list representing an upper-bound type variable's bound types.
-
-
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
Fields Modifier and Type Field Description private TypeDescription.Generic.AnnotationReader
annotationReader
The annotation reader to query for type annotations.private java.lang.reflect.Type[]
lowerBound
The represented lower bounds.
-
Constructor Summary
Constructors Modifier Constructor Description protected
WildcardLowerBoundTypeList(java.lang.reflect.Type[] lowerBound, TypeDescription.Generic.AnnotationReader annotationReader)
Creates a type list for a wildcard type's lower bounds.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TypeDescription.Generic
get(int index)
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 net.bytebuddy.matcher.FilterableList
filter, getOnly, subList
-
-
-
-
Field Detail
-
lowerBound
private final java.lang.reflect.Type[] lowerBound
The represented lower bounds.
-
annotationReader
private final TypeDescription.Generic.AnnotationReader annotationReader
The annotation reader to query for type annotations.
-
-
Constructor Detail
-
WildcardLowerBoundTypeList
protected WildcardLowerBoundTypeList(java.lang.reflect.Type[] lowerBound, TypeDescription.Generic.AnnotationReader annotationReader)
Creates a type list for a wildcard type's lower bounds.- Parameters:
lowerBound
- The represented lower bounds.annotationReader
- The annotation reader to query for type annotations.
-
-
Method Detail
-
get
public TypeDescription.Generic get(int index)
- Specified by:
get
in interfacejava.util.List<TypeDescription.Generic>
- Specified by:
get
in classjava.util.AbstractList<TypeDescription.Generic>
-
size
public int size()
- Specified by:
size
in interfacejava.util.Collection<TypeDescription.Generic>
- Specified by:
size
in interfacejava.util.List<TypeDescription.Generic>
- Specified by:
size
in classjava.util.AbstractCollection<TypeDescription.Generic>
-
-