public static class TypeDescription.Generic.LazyProjection.ForLoadedSuperClass extends TypeDescription.Generic.LazyProjection.WithLazyNavigation.OfAnnotatedElement
TypeDescription.Generic.LazyProjection.WithLazyNavigation.LazyInterfaceList, TypeDescription.Generic.LazyProjection.WithLazyNavigation.LazyInterfaceType, TypeDescription.Generic.LazyProjection.WithLazyNavigation.LazySuperClass, TypeDescription.Generic.LazyProjection.WithLazyNavigation.OfAnnotatedElement
TypeDescription.Generic.LazyProjection.ForLoadedFieldType, TypeDescription.Generic.LazyProjection.ForLoadedReturnType, TypeDescription.Generic.LazyProjection.ForLoadedSuperClass, TypeDescription.Generic.LazyProjection.OfConstructorParameter, TypeDescription.Generic.LazyProjection.OfMethodParameter, TypeDescription.Generic.LazyProjection.OfRecordComponent, TypeDescription.Generic.LazyProjection.WithEagerNavigation, TypeDescription.Generic.LazyProjection.WithLazyNavigation, TypeDescription.Generic.LazyProjection.WithResolvedErasure
TypeDescription.Generic.AbstractBase, TypeDescription.Generic.AnnotationReader, TypeDescription.Generic.Builder, TypeDescription.Generic.LazyProjection, TypeDescription.Generic.LazyProxy, TypeDescription.Generic.OfGenericArray, TypeDescription.Generic.OfNonGenericType, TypeDescription.Generic.OfParameterizedType, TypeDescription.Generic.OfTypeVariable, TypeDescription.Generic.OfWildcardType, TypeDescription.Generic.Visitor<T>
TypeDefinition.Sort, TypeDefinition.SuperClassIterator
NamedElement.WithDescriptor, NamedElement.WithGenericName, NamedElement.WithOptionalName, NamedElement.WithRuntimeName
ModifierReviewable.ForFieldDescription, ModifierReviewable.ForMethodDescription, ModifierReviewable.ForParameterDescription, ModifierReviewable.ForTypeDefinition, ModifierReviewable.OfAbstraction, ModifierReviewable.OfByteCodeElement, ModifierReviewable.OfEnumeration
AnnotationSource.Empty, AnnotationSource.Explicit
ANNOTATION, CLASS, OBJECT, UNDEFINED, VOID
RAW_TYPES_PROPERTY
EMPTY_NAME, NO_NAME
EMPTY_MASK
Modifier | Constructor and Description |
---|---|
protected |
ForLoadedSuperClass(Class<?> type)
Creates a new lazy projection of a type's super class.
|
Modifier and Type | Method and Description |
---|---|
TypeDescription |
asErasure()
Returns the erasure of this type.
|
protected TypeDescription.Generic.AnnotationReader |
getAnnotationReader()
Returns the current type's annotation reader.
|
static TypeDescription.Generic |
of(Class<?> type)
Creates a new lazy projection of a type's super class.
|
protected TypeDescription.Generic |
resolve()
Resolves the actual generic type.
|
getDeclaredAnnotations
getInterfaces, getSuperClass, iterator
accept, equals, findBindingOf, getActualName, getComponentType, getDeclaredFields, getDeclaredMethods, getLowerBounds, getOwnerType, getRecordComponents, getSort, getStackSize, getSymbol, getTypeArguments, getTypeName, getTypeVariableSource, getUpperBounds, hashCode, isArray, isPrimitive, isRecord, represents, toString
asGenericType, asRawType, getModifiers
getEnumerationState, 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, isVolatile
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getTypeManifestation, isAnnotation, isInterface
isAbstract
getEnumerationState, isEnum
getOwnership, getVisibility, isDeprecated, isPackagePrivate, isPrivate, isProtected, isPublic, isStatic
getSyntheticState, isFinal, isSynthetic
forEach, spliterator
protected ForLoadedSuperClass(Class<?> type)
type
- The type of which the super class is represented.@MaybeNull public static TypeDescription.Generic of(Class<?> type)
type
- The type of which the super class is represented.null
if no such class exists.@CachedReturnPlugin.Enhance(value="resolved") protected TypeDescription.Generic resolve()
resolve
in class TypeDescription.Generic.LazyProjection
public TypeDescription asErasure()
TypeDescription.Generic.Sort#WILDCARD
)
do not have a well-defined erasure and cause an IllegalStateException
to be thrown.protected TypeDescription.Generic.AnnotationReader getAnnotationReader()
TypeDescription.Generic.LazyProjection.WithLazyNavigation.OfAnnotatedElement
getAnnotationReader
in class TypeDescription.Generic.LazyProjection.WithLazyNavigation.OfAnnotatedElement
Copyright © 2014–2023. All rights reserved.