List of usage examples for org.objectweb.asm MethodVisitor interface-usage
From source file bytecode.MethodImporter.java
/** * Visits JVM bytecode, as represented by the ASM library, converting this into * a joint control-flow and data-flow graph that is used for analysis and * transformation. */ public class MethodImporter implements MethodVisitor {
From source file com.android.tools.layoutlib.create.DelegateMethodAdapter.java
/**
* This method adapter rewrites a method by discarding the original code and generating
* a call to a delegate. Original annotations are passed along unchanged.
* <p/>
* Calls are delegated to a class named <code><className>_Delegate</code> with
* static methods matching the methods to be overridden here. The methods have the
From source file com.android.tools.layoutlib.create.StubMethodAdapter.java
/** * This method adapter rewrites a method by discarding the original code and generating * a stub depending on the return type. Original annotations are passed along unchanged. */ class StubMethodAdapter implements MethodVisitor {
From source file com.enea.jcarder.agent.instrument.StackAnalyzeMethodVisitor.java
/**
* This class tries to keep track of what is currently on the operand stack. It
* does not keep track of the actual values but from where the values
* originates. A value may for example originate from a specific field member in
* the class, a local variable, a return value from a specific method or
* something else.
From source file com.github.stokito.gag.instrument.collector.BaseMethodCollector.java
public abstract class BaseMethodCollector implements MethodVisitor { @Override public void visitAttribute(Attribute attr) { }
From source file com.google.gag.instrument.collector.BaseMethodCollector.java
public abstract class BaseMethodCollector implements MethodVisitor { @Override public void visitAttribute(Attribute attr) { }
From source file com.google.gwt.jvm.asm.DelegatingMethodVisitor.java
/** * Default delegating implementation of {@link MethodVisitor} */ public class DelegatingMethodVisitor implements MethodVisitor { protected final MethodVisitor delegate;
From source file com.google.gwt.jvm.asm.NativeMethodDelegatingVisitor.java
/** * Converts a native method to regular method which delegates its invocation to * GwtNativeDispatch */ public class NativeMethodDelegatingVisitor implements MethodVisitor { private static final String NULL_POINTER_EXCEPTION = "java/lang/NullPointerException";
From source file com.google.gwt.jvm.asm.NoopMethodVisitor.java
public class NoopMethodVisitor implements MethodVisitor { public AnnotationVisitor visitAnnotation(String desc, boolean visible) { return null; }
From source file com.google.singletondetector.visitors.NoopMethodVisitor.java
/**
* A simple class that implements MethodVisitor and does nothing for each
* method. Can be extended by other classes to easily override one or two
* methods.
*
* @author David Rubel