protected static class Implementation.Context.Default.FieldGetter extends Implementation.Context.Default.AbstractPropertyAccessorMethod
MethodDescription.InDefinedShape.AbstractBaseMethodDescription.ForLoadedConstructor, MethodDescription.ForLoadedMethod, MethodDescription.InDefinedShape, MethodDescription.InGenericShape, MethodDescription.Latent, MethodDescription.SignatureToken, MethodDescription.Token, MethodDescription.TypeSubstituting, MethodDescription.TypeTokenTypeVariableSource.Visitor<T>ModifierReviewable.ForFieldDescription, ModifierReviewable.ForMethodDescription, ModifierReviewable.ForParameterDescription, ModifierReviewable.ForTypeDefinition, ModifierReviewable.OfAbstraction, ModifierReviewable.OfByteCodeElement, ModifierReviewable.OfEnumerationByteCodeElement.TypeDependant<T extends ByteCodeElement.TypeDependant<?,S>,S extends ByteCodeElement.Token<S>>NamedElement.WithGenericName, NamedElement.WithOptionalName, NamedElement.WithRuntimeNameCONSTRUCTOR_INTERNAL_NAME, TYPE_INITIALIZER_INTERNAL_NAME, TYPE_INITIALIZER_MODIFIER, UNDEFINEDEMPTY_MASKNON_GENERIC_SIGNATUREEMPTY_NAME, NO_NAME| Modifier | Constructor and Description |
|---|---|
protected |
FieldGetter(TypeDescription instrumentedType,
FieldDescription fieldDescription,
String suffix)
Creates a new field getter.
|
| Modifier and Type | Method and Description |
|---|---|
protected int |
getBaseModifiers()
Returns the base modifiers, i.e. the modifiers that define the accessed property's features.
|
AnnotationList |
getDeclaredAnnotations()
Returns a list of annotations that are declared by this instance.
|
TypeDescription |
getDeclaringType()
Returns the declaring type of this instance.
|
AnnotationValue<?,?> |
getDefaultValue()
Returns the method's default annotation value or
null if no default value is defined for this method. |
TypeList.Generic |
getExceptionTypes()
Returns the exception types of the described method.
|
String |
getInternalName()
Returns the internal internalName of this byte code element.
|
ParameterList<ParameterDescription.InDefinedShape> |
getParameters()
Returns a list of this method's parameters.
|
TypeDescription.Generic |
getReturnType()
Returns the return type of the described method.
|
TypeList.Generic |
getTypeVariables()
Returns the type variables that are declared by this element.
|
getModifiersasDefined, getReceiverTypeaccept, asSignatureToken, asToken, asTypeToken, equals, getActualModifiers, getActualModifiers, getActualName, getDefaultValue, getDescriptor, getEnclosingSource, getGenericSignature, getName, getStackSize, hashCode, isBootstrap, isBootstrap, isConstructor, isDefaultMethod, isDefaultValue, isDefaultValue, isGenericDeclaration, isInvokableOn, isMethod, isSpecializableFor, isTypeInitializer, isVirtual, isVisibleTo, represents, represents, toGenericString, toStringfindVariableisAbstract, isAnnotation, isBridge, isDeprecated, isEnum, isFinal, isInterface, isMandated, isNative, isPackagePrivate, isPrivate, isProtected, isPublic, isStatic, isStrict, isSynchronized, isSynthetic, isTransient, isVarArgs, isVolatileclone, finalize, getClass, notify, notifyAll, wait, wait, waitasSignatureToken, asTypeToken, getActualModifiers, getActualModifiers, getDefaultValue, getStackSize, isBootstrap, isBootstrap, isConstructor, isDefaultMethod, isDefaultValue, isDefaultValue, isInvokableOn, isMethod, isSpecializableFor, isTypeInitializer, isVirtual, represents, representsaccept, findVariable, getEnclosingSource, isGenericDeclarationisBridge, isNative, isStrict, isSynchronized, isVarArgsisAbstractisDeprecated, isPackagePrivate, isPrivate, isProtected, isPublic, isStaticisFinal, isSynthetictoGenericStringgetDescriptor, getGenericSignature, isVisibleTogetNamegetActualNameasTokenprotected FieldGetter(TypeDescription instrumentedType, FieldDescription fieldDescription, String suffix)
instrumentedType - The instrumented type.fieldDescription - The field for which a getter is described.suffix - The name suffix for the field getter method.public TypeDescription.Generic getReturnType()
MethodDescriptionpublic ParameterList<ParameterDescription.InDefinedShape> getParameters()
MethodDescriptionpublic TypeList.Generic getExceptionTypes()
MethodDescriptionpublic AnnotationValue<?,?> getDefaultValue()
MethodDescriptionnull if no default value is defined for this method.null if no default value is defined for this method.public TypeList.Generic getTypeVariables()
TypeVariableSourcepublic AnnotationList getDeclaredAnnotations()
AnnotatedCodeElementpublic TypeDescription getDeclaringType()
DeclaredByTypenull if no such type exists.protected int getBaseModifiers()
Implementation.Context.Default.AbstractPropertyAccessorMethodgetBaseModifiers in class Implementation.Context.Default.AbstractPropertyAccessorMethodpublic String getInternalName()
NamedElement.WithRuntimeNameCopyright © 2014–2016. All rights reserved.