Package net.bytebuddy.pool
Class TypePool.Default.LazyTypeDescription.GenericTypeToken.LazyTokenList.ForWildcardBound
- 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.pool.TypePool.Default.LazyTypeDescription.GenericTypeToken.LazyTokenList.ForWildcardBound
-
- 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:
- TypePool.Default.LazyTypeDescription.GenericTypeToken.LazyTokenList
protected static class TypePool.Default.LazyTypeDescription.GenericTypeToken.LazyTokenList.ForWildcardBound extends TypeList.Generic.AbstractBase
A generic type description representing a tokenized wildcard bound.
-
-
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 java.util.Map<java.lang.String,java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken>>annotationTokensA mapping of the represent types' annotation tokens.private TypePool.Default.LazyTypeDescription.GenericTypeTokengenericTypeTokenA token representing the wildcard's bound.private java.lang.StringtypePathThe represented types' type path to which a wildcard step is added upon resolution.private TypePooltypePoolThe type pool that is used for locating a generic type.private TypeVariableSourcetypeVariableSourceThe type variable source to use for resolving type variables.
-
Constructor Summary
Constructors Modifier Constructor Description protectedForWildcardBound(TypePool typePool, TypeVariableSource typeVariableSource, java.lang.String typePath, java.util.Map<java.lang.String,java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken>> annotationTokens, TypePool.Default.LazyTypeDescription.GenericTypeToken genericTypeToken)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TypeDescription.Genericget(int index)intsize()-
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
-
typePool
private final TypePool typePool
The type pool that is used for locating a generic type.
-
typeVariableSource
private final TypeVariableSource typeVariableSource
The type variable source to use for resolving type variables.
-
typePath
private final java.lang.String typePath
The represented types' type path to which a wildcard step is added upon resolution.
-
annotationTokens
private final java.util.Map<java.lang.String,java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken>> annotationTokens
A mapping of the represent types' annotation tokens.
-
genericTypeToken
private final TypePool.Default.LazyTypeDescription.GenericTypeToken genericTypeToken
A token representing the wildcard's bound.
-
-
Constructor Detail
-
ForWildcardBound
protected ForWildcardBound(TypePool typePool, TypeVariableSource typeVariableSource, java.lang.String typePath, java.util.Map<java.lang.String,java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken>> annotationTokens, TypePool.Default.LazyTypeDescription.GenericTypeToken genericTypeToken)
- Parameters:
typePool- The type pool that is used for locating a generic type.typeVariableSource- The type variable source to use for resolving type variables.typePath- The represented types' type path to which a wildcard step is added upon resolution.annotationTokens- A mapping of the represent types' annotation tokens,genericTypeToken- A token representing the wildcard's bound.
-
-
Method Detail
-
get
public TypeDescription.Generic get(int index)
- Specified by:
getin interfacejava.util.List<TypeDescription.Generic>- Specified by:
getin classjava.util.AbstractList<TypeDescription.Generic>
-
size
public int size()
- Specified by:
sizein interfacejava.util.Collection<TypeDescription.Generic>- Specified by:
sizein interfacejava.util.List<TypeDescription.Generic>- Specified by:
sizein classjava.util.AbstractCollection<TypeDescription.Generic>
-
-