private static class TypeList.Generic.OfConstructorExceptionTypes.TypeProjection extends TypeDescription.Generic.LazyProjection.WithEagerNavigation.OfAnnotatedElement
TypeDescription.Generic.LazyProjection.WithEagerNavigation.OfAnnotatedElementTypeDescription.Generic.LazyProjection.ForLoadedFieldType, TypeDescription.Generic.LazyProjection.ForLoadedReturnType, TypeDescription.Generic.LazyProjection.ForLoadedSuperClass, TypeDescription.Generic.LazyProjection.OfConstructorParameter, TypeDescription.Generic.LazyProjection.OfMethodParameter, TypeDescription.Generic.LazyProjection.WithEagerNavigation, TypeDescription.Generic.LazyProjection.WithLazyNavigation, TypeDescription.Generic.LazyProjection.WithResolvedErasureTypeDescription.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.lang.reflect.Constructor<?> |
constructor
The constructor of which the exception types are represented.
|
private java.lang.Class<?>[] |
erasure
The erasures of the represented constructor's exception types.
|
private int |
index
The index of the exception type.
|
ANNOTATION, CLASS, OBJECT, UNDEFINED, VOIDRAW_TYPES_PROPERTYEMPTY_NAME, NO_NAMEEMPTY_MASK| Modifier | Constructor and Description |
|---|---|
private |
TypeProjection(java.lang.reflect.Constructor<?> constructor,
int index,
java.lang.Class<?>[] erasure)
Creates a lazy type projection of a constructor's exception type.
|
| 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.
|
protected TypeDescription.Generic |
resolve()
Resolves the actual generic type.
|
getDeclaredAnnotationsgetInterfaces, getSuperClass, iteratoraccept, equals, findBindingOf, getActualName, getComponentType, getDeclaredFields, getDeclaredMethods, getLowerBounds, getOwnerType, getSort, getStackSize, getSymbol, getTypeArguments, getTypeName, getTypeVariableSource, getUpperBounds, hashCode, isArray, isPrimitive, 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 java.lang.reflect.Constructor<?> constructor
private final int index
private final java.lang.Class<?>[] erasure
private TypeProjection(java.lang.reflect.Constructor<?> constructor,
int index,
java.lang.Class<?>[] erasure)
constructor - The constructor of which the exception types are represented.index - The index of the exception type.erasure - The erasures of the represented constructor's exception types.@CachedReturnPlugin.Enhance(value="resolved") protected TypeDescription.Generic resolve()
TypeDescription.Generic.LazyProjectionresolve in class TypeDescription.Generic.LazyProjectionpublic 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.WithEagerNavigation.OfAnnotatedElementgetAnnotationReader in class TypeDescription.Generic.LazyProjection.WithEagerNavigation.OfAnnotatedElement