List of usage examples for org.objectweb.asm MethodVisitor interface-usage
From source file jtaint.MultiMethodAdapter.java
/** Allow multiple MethodAdapters to visit a single method. Ensures that * each MethodAdapter receives its own set of Label objects by cloning * Labels when appropriate. */ public class MultiMethodAdapter implements MethodVisitor {
From source file local.edg.ClassDbVisitor.java
public class ClassDbVisitor implements ClassVisitor, FieldVisitor, MethodVisitor { private static final String AP_NAME = "actionPerformed"; private static final String AP_DESC = "(Ljava/awt/event/ActionEvent;)V"; private Map<String, Class> classdb = new HashMap<String, Class>(); private Class currentClass;
From source file nl.hardijzer.fw.jarcompare.Field.java
class MyVisitor implements ClassVisitor, MethodVisitor { public ArrayList<String> arrClasses = new ArrayList<String>(); public ArrayList<Field> arrFields = new ArrayList<Field>(); public ArrayList<Method> arrMethods = new ArrayList<Method>(); public String strMe = "";
From source file org.adjective.stout.asm.AbstractASMVisitor.java
/** * @author <a href="http://blog.adjective.org/">Tim Vernum</a> */ public abstract class AbstractASMVisitor extends AbstractClassVisitor implements MethodVisitor, FieldVisitor, AnnotationVisitor { public AnnotationVisitor visitAnnotationDefault() {
From source file org.adjective.stout.tools.StackVisualiserMethodVisitor.java
/** * @author <a href="http://blog.adjective.org/">Tim Vernum</a> */ class StackVisualiserMethodVisitor extends AbstractVisitor implements MethodVisitor { private static final Type OBJECT_TYPE = Type.getType(Object.class);
From source file org.apache.felix.tool.mangen.ASMClassScanner.java
/** * * @version $Revision: 32 $ * @author <A HREF="mailto:heavy@ungoverned.org">Richard S. Hall</A> */ public class ASMClassScanner implements ClassScanner, ClassVisitor, MethodVisitor {
From source file org.apache.maven.shared.dependency.analyzer.asm.DependencyVisitor.java
/**
* Inspired by <code>org.objectweb.asm.depend.DependencyVisitor</code> in the ASM dependencies example.
*
* @author <a href="mailto:markhobson@gmail.com">Mark Hobson</a>
* @version $Id: DependencyVisitor.java 661727 2008-05-30 14:21:49Z bentmann $
*/
From source file org.bundlemaker.core.parser.bytecode.asm.ArtefactAnalyserMethodVisitor.java
public class ArtefactAnalyserMethodVisitor extends EmptyVisitor implements MethodVisitor { /** - */ private final AsmReferenceRecorder _recorder; /**
From source file org.cacheonix.impl.transformer.CacheonixMethodVisitor.java
/** * Collects Method level Cacheonix annotation information */ public class CacheonixMethodVisitor implements MethodVisitor { private final List<AnnotationInfo> methodAnnotationInfo = new ArrayList<AnnotationInfo>();
From source file org.eclipse.gemini.blueprint.test.internal.util.DependencyVisitor.java
/**
* ASM based class for determining a class imports. The code is heavily based on an Eugene Kuleshov's ASM <a
* href="http://asm.objectweb.org/doc/tutorial-asm-2.0.html">tutorial</a>.
*
* <p/>The main differences from the original source in the article are the 1.4 compatibility, the handling of class
* objects not instantiated (MyClass.class.getName()) as these are specially handled by the compiler and analysis of