public static class GenericTypeDescription.LazyProjection.OfConstructorParameter extends GenericTypeDescription.LazyProjection
Constructor.GenericTypeDescription.LazyProjection.OfConstructorParameter, GenericTypeDescription.LazyProjection.OfLoadedFieldType, GenericTypeDescription.LazyProjection.OfLoadedReturnType, GenericTypeDescription.LazyProjection.OfLoadedSuperType, GenericTypeDescription.LazyProjection.OfMethodParameterGenericTypeDescription.ForGenericArray, GenericTypeDescription.ForNonGenericType, GenericTypeDescription.ForParameterizedType, GenericTypeDescription.ForTypeVariable, GenericTypeDescription.ForWildcardType, GenericTypeDescription.LazyProjection, GenericTypeDescription.Sort, GenericTypeDescription.SuperTypeIterator, GenericTypeDescription.Visitor<T>NamedElement.WithGenericName, NamedElement.WithRuntimeNameEMPTY_NAME, NO_NAME| Constructor and Description |
|---|
OfConstructorParameter(Constructor<?> constructor,
int index,
Class<?> erasure)
Creates a lazy projection of a constructor's parameter.
|
| Modifier and Type | Method and Description |
|---|---|
TypeDescription |
asErasure()
Returns the erasure of this type.
|
protected GenericTypeDescription |
resolve()
Resolves the actual generic type.
|
accept, equals, getComponentType, getDeclaredFields, getDeclaredMethods, getInterfaces, getLowerBounds, getOwnerType, getParameters, getSort, getSourceCodeName, getStackSize, getSuperType, getSymbol, getTypeName, getUpperBounds, getVariableSource, hashCode, isArray, isPrimitive, iterator, represents, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitforEach, spliteratorpublic OfConstructorParameter(Constructor<?> constructor, int index, Class<?> erasure)
constructor - The constructor of which a parameter type is represented.index - The parameter's index.erasure - The erasure of the parameter type.protected GenericTypeDescription resolve()
GenericTypeDescription.LazyProjectionresolve in class GenericTypeDescription.LazyProjectionpublic TypeDescription asErasure()
GenericTypeDescriptionGenericTypeDescription.Sort.WILDCARD)
do not have a well-defined erasure and cause an IllegalStateException to be thrown.Copyright © 2014–2016. All rights reserved.