protected static class TypePool.Default.LazyTypeDescription.GenericTypeToken.ForLowerBoundWildcard.LazyLowerBoundWildcard extends TypeDescription.Generic.OfWildcardType
TypeDescription.Generic.OfWildcardType.ForLoadedType, TypeDescription.Generic.OfWildcardType.LatentTypeDescription.Generic.AbstractBase, TypeDescription.Generic.AnnotationReader, TypeDescription.Generic.Builder, TypeDescription.Generic.LazyProjection, TypeDescription.Generic.OfGenericArray, TypeDescription.Generic.OfNonGenericType, TypeDescription.Generic.OfParameterizedType, TypeDescription.Generic.OfTypeVariable, TypeDescription.Generic.OfWildcardType, TypeDescription.Generic.Visitor<T>TypeDefinition.Sort, TypeDefinition.SuperClassIteratorNamedElement.WithGenericName, NamedElement.WithOptionalName, NamedElement.WithRuntimeNameModifierReviewable.ForFieldDescription, ModifierReviewable.ForMethodDescription, ModifierReviewable.ForParameterDescription, ModifierReviewable.ForTypeDefinition, ModifierReviewable.OfAbstraction, ModifierReviewable.OfByteCodeElement, ModifierReviewable.OfEnumerationAnnotationSource.Empty, AnnotationSource.Explicit| Modifier and Type | Field and Description |
|---|---|
private java.util.Map<java.lang.String,java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken>> |
annotationTokens
This type's type annotations.
|
private TypePool.Default.LazyTypeDescription.GenericTypeToken |
boundTypeToken
A tokenized representation of this wildcard's bound.
|
private java.lang.String |
typePath
This type's type path.
|
private TypePool |
typePool
The type pool to use.
|
private TypeVariableSource |
typeVariableSource
The type variable source for locating type variables.
|
SYMBOLANNOTATION, CLASS, OBJECT, UNDEFINED, VOIDRAW_TYPES_PROPERTYEMPTY_NAME, NO_NAMEEMPTY_MASK| Modifier | Constructor and Description |
|---|---|
protected |
LazyLowerBoundWildcard(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 boundTypeToken)
Creates a new lazy lower bound wildcard.
|
| Modifier and Type | Method and Description |
|---|---|
AnnotationList |
getDeclaredAnnotations()
Returns a list of annotations that are declared by this instance.
|
TypeList.Generic |
getLowerBounds()
Returns the lower bounds of this type.
|
TypeList.Generic |
getUpperBounds()
Returns the upper bounds of this type.
|
accept, asErasure, equals, findBindingOf, getActualName, getComponentType, getDeclaredFields, getDeclaredMethods, getInterfaces, getOwnerType, getSort, getStackSize, getSuperClass, getSymbol, getTypeArguments, getTypeName, getTypeVariableSource, hashCode, isArray, isPrimitive, iterator, represents, toStringasGenericType, asRawType, getModifiersgetEnumerationState, getFieldManifestation, getFieldPersistence, getMethodManifestation, getMethodStrictness, getOwnership, getParameterManifestation, getProvisioningState, getSynchronizationState, getSyntheticState, getTypeManifestation, getVisibility, isAbstract, isAnnotation, isBridge, isDeprecated, isEnum, isFinal, isInterface, isMandated, isNative, isPackagePrivate, isPrivate, isProtected, isPublic, isStatic, isStrict, isSynchronized, isSynthetic, isTransient, isVarArgs, isVolatileclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetTypeManifestation, isAnnotation, isInterfaceisAbstractgetEnumerationState, isEnumgetOwnership, getVisibility, isDeprecated, isPackagePrivate, isPrivate, isProtected, isPublic, isStaticgetSyntheticState, isFinal, isSyntheticprivate final TypePool typePool
private final TypeVariableSource typeVariableSource
private final java.lang.String typePath
private final java.util.Map<java.lang.String,java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken>> annotationTokens
private final TypePool.Default.LazyTypeDescription.GenericTypeToken boundTypeToken
protected LazyLowerBoundWildcard(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 boundTypeToken)
typePool - The type pool to use.typeVariableSource - The type variable source for locating type variables.typePath - This type's type path.annotationTokens - This type's type annotations.boundTypeToken - A tokenized representation of this wildcard's bound.public TypeList.Generic getUpperBounds()
Returns the upper bounds of this type. Any type with a well-defined upper bound is bound by at least one type. If no such
type is defined, the bound is implicitly Object.
Only non-symbolic type variables (TypeDefinition.Sort.VARIABLE, and wildcard types
(TypeDefinition.Sort.WILDCARD) have well-defined upper bounds. For other
types, an IllegalStateException is thrown.
public TypeList.Generic getLowerBounds()
Returns the lower bounds of this type.
Only wildcard types (Sort#WILDCARD) define a lower bound. For other
types, an IllegalStateException is thrown.
public AnnotationList getDeclaredAnnotations()