List of usage examples for org.objectweb.asm MethodVisitor subclass-usage
From source file cc.adf.metrics.agent.visitor.TestMethodVisitor.java
/** * * @author cc */ public class TestMethodVisitor extends MethodVisitor { private String name;
From source file ch.eiafr.cojac.FloatReplacerMethodVisitor.java
/**
* There is a delegation chain in place for MethodVisitors:
* MyLocalAdder adds two local variables
* -> FloatReplacerMethodVisitor main bytecode transformation (with helper class FloatProxyMethod)
* -> FloatVariableSorter remaps parameters index (due to the replacement of double (2 slots) as objects (1 slot))
* -> AnalyzerAdapter keeps track of effective stack, so that we know the type of the top
From source file ch.eiafr.cojac.FloatVariablesSorter.java
/**
* Remap the local variables indices for load & store instructions
* The FloatVariablesSorter is used to remap the variables defined by the
* parameters passing for method invocation
* It transforms: visitFrame(), visitVarInsn(), visitIinc(), visitLocalVariable()
*/
From source file ch.puzzle.modjprof.instrumentation.InstrumentationMethodVisitor.java
/** * This class performs the instrumentation of each method. It inserts a callback * statement to the agent at the beginning and at the end of each method. * */ public class InstrumentationMethodVisitor extends MethodVisitor {
From source file ch.raffael.contracts.processor.cel.skeletons.SkeletonMethodVisitor.java
/** * @author <a href="mailto:herzog@raffael.ch">Raffael Herzog</a> */ class SkeletonMethodVisitor extends MethodVisitor { private static final Type SKELETON_EXCEPTION = Type.getType(SkeletonInvocationError.class);
From source file ch.sourcepond.utils.podescoin.internal.inspector.InjectorMethodInspector.java
/** * @author rolandhauser * */ final class InjectorMethodInspector extends MethodVisitor { private static final Logger LOG = getLogger(InjectorMethodInspector.class);
From source file com.alibaba.hotswap.processor.constructor.modifier.ConstructorLVTAdjustModifier.java
/** * @author zhuyong 2012-7-2 */ public class ConstructorLVTAdjustModifier extends MethodVisitor { private int delta;
From source file com.alibaba.hotswap.processor.jdk.classloader.modifier.FindClassMethodModifier.java
/** * @author zhuyong 2012-6-18 */ public class FindClassMethodModifier extends MethodVisitor { public FindClassMethodModifier(MethodVisitor mv) {
From source file com.android.mkstubs.sourcer.MethodSourcer.java
/** * A method visitor that generates the Java source for a whole method. */ class MethodSourcer extends MethodVisitor { private final Output mOutput;
From source file com.android.mkstubs.stubber.MethodStubber.java
/**
* A method visitor that generates a code stub for the visited method.
* <p/>
* Annotations and parameters are passed as-is.
* All other code is replaced by the following:
* <pre>throw new RuntimeException("stub");</pre>