protected static class MethodTransformer.Simple.TransformedMethod extends MethodDescription.AbstractBase
| Modifier and Type | Class and Description | 
|---|---|
| protected class  | MethodTransformer.Simple.TransformedMethod.TransformedParameterA transformed method's parameter. | 
| protected class  | MethodTransformer.Simple.TransformedMethod.TransformedParameterListA parameter list representing the transformed method's parameters. | 
MethodDescription.AbstractBase, MethodDescription.ForLoadedConstructor, MethodDescription.ForLoadedMethod, MethodDescription.InDefinedShape, MethodDescription.InGenericShape, MethodDescription.Latent, MethodDescription.SignatureToken, MethodDescription.Token, MethodDescription.TypeSubstituting, MethodDescription.TypeTokenTypeVariableSource.Visitor<T>ByteCodeElement.TypeDependant<T extends ByteCodeElement.TypeDependant<?,S>,S extends ByteCodeElement.Token<S>>NamedElement.WithGenericName, NamedElement.WithRuntimeNameCONSTRUCTOR_INTERNAL_NAME, NO_DEFAULT_VALUE, TYPE_INITIALIZER_INTERNAL_NAME, TYPE_INITIALIZER_MODIFIER, UNDEFINEDNON_GENERIC_SIGNATUREEMPTY_NAME, NO_NAMEEMPTY_MASK| Modifier | Constructor and Description | 
|---|---|
| protected  | TransformedMethod(TypeDefinition declaringType,
                 MethodDescription.Token token,
                 MethodDescription.InDefinedShape methodDescription)Creates a new transformed method. | 
| Modifier and Type | Method and Description | 
|---|---|
| MethodDescription.InDefinedShape | asDefined()Returns this type dependant in its defined shape, i.e. | 
| AnnotationList | getDeclaredAnnotations()Returns a list of annotations that are declared by this instance. | 
| TypeDefinition | getDeclaringType()Returns the declaring type of this instance. | 
| Object | getDefaultValue()Returns the default value of this method or  nullif no such value exists. | 
| TypeList.Generic | getExceptionTypes()Returns the exception types of the described method. | 
| String | getInternalName()Returns the internal internalName of this byte code element. | 
| int | getModifiers()Returns the modifier that is described by this object. | 
| ParameterList<?> | getParameters()Returns a list of this method's parameters. | 
| TypeDescription.Generic | getReceiverType()Returns this methods receiver type. | 
| TypeDescription.Generic | getReturnType()Returns the return type of the described method. | 
| TypeList.Generic | getTypeVariables()Returns the type variables that are declared by this element. | 
accept, asSignatureToken, asToken, asTypeToken, equals, getActualModifiers, getActualModifiers, getDefaultValue, getDescriptor, getEnclosingSource, getGenericSignature, getName, getSourceCodeName, 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, isSuper, isSynchronized, isSynthetic, isTransient, isVarArgs, isVolatileclone, finalize, getClass, notify, notifyAll, wait, wait, waitfindVariableisAbstract, isAnnotation, isBridge, isDeprecated, isEnum, isFinal, isInterface, isMandated, isNative, isPackagePrivate, isPrivate, isProtected, isPublic, isStatic, isStrict, isSuper, isSynchronized, isSynthetic, isTransient, isVarArgs, isVolatileprotected TransformedMethod(TypeDefinition declaringType, MethodDescription.Token token, MethodDescription.InDefinedShape methodDescription)
declaringType - The method's declaring type.token - The method representing the transformed method.methodDescription - The defined shape of the transformed method.public TypeList.Generic getTypeVariables()
TypeVariableSourcepublic TypeDescription.Generic getReturnType()
MethodDescriptionpublic ParameterList<?> getParameters()
MethodDescriptionpublic TypeList.Generic getExceptionTypes()
MethodDescriptionpublic AnnotationList getDeclaredAnnotations()
AnnotatedCodeElementpublic String getInternalName()
NamedElement.WithRuntimeNamepublic TypeDefinition getDeclaringType()
DeclaredByTypenull if no such type exists.public int getModifiers()
ModifierReviewablepublic Object getDefaultValue()
MethodDescriptionnull if no such value exists. The returned values might be
 of a different type than usual:
 Class values are represented as
 TypeDescriptions.Annotation values are represented as
 AnnotationDescriptionsEnum values are represented as
 EnumerationDescriptions.null.public MethodDescription.InDefinedShape asDefined()
ByteCodeElement.TypeDependantpublic TypeDescription.Generic getReceiverType()
MethodDescriptionstatic methods
 where null is returned.Copyright © 2014–2016. All rights reserved.