public static class GenericTypeDescription.LazyProjection.OfLoadedParameter.OfLegacyVmConstructor extends GenericTypeDescription.LazyProjection
java.lang.reflect.Parameter type.GenericTypeDescription.LazyProjection.OfLoadedFieldType, GenericTypeDescription.LazyProjection.OfLoadedParameter, GenericTypeDescription.LazyProjection.OfLoadedReturnType, GenericTypeDescription.LazyProjection.OfLoadedSuperTypeGenericTypeDescription.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 |
|---|
OfLegacyVmConstructor(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 OfLegacyVmConstructor(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–2015. All rights reserved.