public static class MethodAttributeAppender.ForLoadedMethod extends Object implements MethodAttributeAppender, MethodAttributeAppender.Factory
MethodAttributeAppender.Compound, MethodAttributeAppender.Factory, MethodAttributeAppender.ForAnnotation, MethodAttributeAppender.ForInstrumentedMethod, MethodAttributeAppender.ForLoadedConstructor, MethodAttributeAppender.ForLoadedMethod, MethodAttributeAppender.NoOpMethodAttributeAppender.Factory.Compound| Constructor and Description | 
|---|
ForLoadedMethod(Method method)
Creates a new attribute appender for a loaded method. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
apply(org.objectweb.asm.MethodVisitor methodVisitor,
     MethodDescription methodDescription)
Applies this attribute appender to a given method visitor. 
 | 
boolean | 
equals(Object other)  | 
int | 
hashCode()  | 
MethodAttributeAppender | 
make(TypeDescription typeDescription)
Returns a method attribute appender that is applicable for a given type description. 
 | 
String | 
toString()  | 
public ForLoadedMethod(Method method)
method - The method which is read for annotations to write to an instrumented method.public void apply(org.objectweb.asm.MethodVisitor methodVisitor,
                  MethodDescription methodDescription)
MethodAttributeAppenderapply in interface MethodAttributeAppendermethodVisitor - The method visitor to which the attributes that are represented by this attribute
                          appender are written to.methodDescription - The description of the method for which the given method visitor creates an
                          instrumentation for.public MethodAttributeAppender make(TypeDescription typeDescription)
MethodAttributeAppender.Factorymake in interface MethodAttributeAppender.FactorytypeDescription - The type for which a method attribute appender is to be applied for.Copyright © 2014–2015. All rights reserved.