protected static class TypeDescription.Generic.OfTypeVariable.ForLoadedType.TypeVariableBoundList extends TypeList.Generic.AbstractBase
TypeVariable
that resolves annotations..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.AnnotationReader |
annotationReader
The annotation reader to query for the type bounds.
|
private java.lang.reflect.Type[] |
bound
The type variable bounds.
|
Modifier | Constructor and Description |
---|---|
protected |
TypeVariableBoundList(java.lang.reflect.Type[] bound,
TypeDescription.Generic.AnnotationReader annotationReader)
Creates a new list for a
TypeVariable 's bound. |
Modifier and Type | Method and Description |
---|---|
TypeDescription.Generic |
get(int index) |
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 java.lang.reflect.Type[] bound
private final TypeDescription.Generic.AnnotationReader annotationReader
protected TypeVariableBoundList(java.lang.reflect.Type[] bound, TypeDescription.Generic.AnnotationReader annotationReader)
TypeVariable
's bound.bound
- The type variable bounds.annotationReader
- The annotation reader to query for the type bounds.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>