public static class TypeDescription.Generic.LazyProjection.ForLoadedFieldType extends TypeDescription.Generic.LazyProjection.OfAnnotatedElement
TypeDescription.Generic.LazyProjection.ForLoadedFieldType, TypeDescription.Generic.LazyProjection.ForLoadedReturnType, TypeDescription.Generic.LazyProjection.ForLoadedSuperClass, TypeDescription.Generic.LazyProjection.OfAnnotatedElement, TypeDescription.Generic.LazyProjection.OfConstructorParameter, TypeDescription.Generic.LazyProjection.OfMethodParameterTypeDescription.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.WithRuntimeNameANNOTATION, OBJECT, UNDEFINED, VOIDEMPTY_NAME, NO_NAME| Constructor and Description |
|---|
ForLoadedFieldType(Field field)
Create's a lazy projection of a field 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.
|
getDeclaredAnnotationsaccept, equals, getActualName, getComponentType, getDeclaredFields, getDeclaredMethods, getInterfaces, getLowerBounds, getOwnerType, getSort, getStackSize, getSuperClass, getSymbol, getTypeArguments, getTypeName, getUpperBounds, getVariableSource, hashCode, isArray, isPrimitive, iterator, represents, toStringasGenericType, asRawTypeclone, finalize, getClass, notify, notifyAll, wait, wait, waitforEach, spliteratorpublic ForLoadedFieldType(Field field)
field - The field of which the type is represented.protected TypeDescription.Generic resolve()
TypeDescription.Generic.LazyProjectionresolve in class TypeDescription.Generic.LazyProjectionpublic TypeDescription asErasure()
TypeDefinitionTypeDescription.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.OfAnnotatedElementgetAnnotationReader in class TypeDescription.Generic.LazyProjection.OfAnnotatedElementCopyright © 2014–2016. All rights reserved.