public static class GenericTypeDescription.LazyProjection.OfLoadedParameter.OfLegacyVmMethod extends GenericTypeDescription.LazyProjection
java.lang.reflect.Parameter
type.GenericTypeDescription.LazyProjection.OfLoadedFieldType, GenericTypeDescription.LazyProjection.OfLoadedParameter, GenericTypeDescription.LazyProjection.OfLoadedReturnType, GenericTypeDescription.LazyProjection.OfLoadedSuperType
GenericTypeDescription.ForGenericArray, GenericTypeDescription.ForNonGenericType, GenericTypeDescription.ForParameterizedType, GenericTypeDescription.ForTypeVariable, GenericTypeDescription.ForWildcardType, GenericTypeDescription.LazyProjection, GenericTypeDescription.Sort, GenericTypeDescription.SuperTypeIterator, GenericTypeDescription.Visitor<T>
NamedElement.WithGenericName, NamedElement.WithRuntimeName
EMPTY_NAME
Constructor and Description |
---|
OfLegacyVmMethod(Method method,
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, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
forEach, spliterator
protected GenericTypeDescription resolve()
GenericTypeDescription.LazyProjection
resolve
in class GenericTypeDescription.LazyProjection
public TypeDescription asErasure()
GenericTypeDescription
GenericTypeDescription.Sort.WILDCARD
)
do not have a well-defined erasure and cause an IllegalStateException
to be thrown.Copyright © 2014–2015. All rights reserved.