public static class GenericTypeDescription.LazyProjection.OfLoadedReturnType extends GenericTypeDescription.LazyProjection
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 |
|---|
OfLoadedReturnType(Method method)
Creates a new lazy projection of a method's return type.
|
| 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 OfLoadedReturnType(Method method)
method - The method which defines the return 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.