Example usage for org.objectweb.asm MethodVisitor subclass-usage

List of usage examples for org.objectweb.asm MethodVisitor subclass-usage

Introduction

In this page you can find the example usage for org.objectweb.asm MethodVisitor subclass-usage.

Usage

From source file com.heliosapm.MethodInstrumentor.java

/**
 * <p>Title: MethodInstrumentor</p>
 * <p>Description: </p> 
 * <p>Company: Helios Development Group LLC</p>
 * @author Whitehead (nwhitehead AT heliosdev DOT org)
 * <p><code>com.heliosapm.MethodInstrumentor</code></p>

From source file com.intellij.compiler.notNullVerification.ThrowOnNullMethodVisitor.java

public abstract class ThrowOnNullMethodVisitor extends MethodVisitor {

    static final String LJAVA_LANG_SYNTHETIC_ANNO = "Ljava/lang/Synthetic;";
    private static final String IAE_CLASS_NAME = "java/lang/IllegalArgumentException";
    private static final String ISE_CLASS_NAME = "java/lang/IllegalStateException";
    private static final String CONSTRUCTOR_NAME = "<init>";

From source file com.jitlogic.zorka.core.spy.SpyMethodVisitor.java

/**
 * Spy method visitor is responsible for actual instrumenting. It is instantiated when Spy engine finds method that
 * has to be instrumented and inserts all probes required by passed spy contexts. If some spy contexts use method
 * attribute matches to identify methods to be instrumented, spy method visitor will look for method annotatinos and
 * decide whether method actually has to be instrumented or not.
 *

From source file com.jitlogic.zorka.spy.SpyMethodVisitor.java

public class SpyMethodVisitor extends MethodVisitor {

    private final static String SUBMIT_CLASS = "com/jitlogic/zorka/spy/MainSubmitter";
    private final static String SUBMIT_METHOD = "submit";
    private final static String SUBMIT_DESC = "(III[Ljava/lang/Object;)V";

From source file com.mebigfatguy.baremetal4j.BareMetalMethodVisitor.java

public class BareMetalMethodVisitor extends MethodVisitor {

    private Sourcifier sourcifier;

    public BareMetalMethodVisitor(MethodVisitor mv, Sourcifier sourcifier) {
        super(Opcodes.ASM5, mv);

From source file com.mebigfatguy.exagent.StackTraceMethodVisitor.java

public class StackTraceMethodVisitor extends MethodVisitor {

    private static Pattern PARM_PATTERN = Pattern.compile("(\\[*(?:[ZCBSIJFD]|(?:L[^;]+;)))");

    private static String EXASUPPORT_CLASS_NAME = EXASupport.class.getName().replace('.', '/');
    private static String METHODINFO_CLASS_NAME = MethodInfo.class.getName().replace('.', '/');

From source file com.mebigfatguy.inventory.cls.MethodInventoryVisitor.java

public class MethodInventoryVisitor extends MethodVisitor {

    private Inventory inventory;
    private String owningClass;

    public MethodInventoryVisitor(String clsName, Inventory inventory) {

From source file com.mebigfatguy.loc4j.LocMethodVisitor.java

public class LocMethodVisitor extends MethodVisitor {

    private Counts counts;
    private Set<Integer> lines;

    public LocMethodVisitor() {

From source file com.mebigfatguy.stringliterals.SLMethodVisitor.java

public class SLMethodVisitor extends MethodVisitor {

    private Set<Literal> literals = new HashSet<>();
    private String className;
    private String methodInfo;

From source file com.netease.hearttouch.hthotfix.refclass.RefMethodVisitor.java

/**
 * Created by zw on 16/6/12.
 */
public class RefMethodVisitor extends MethodVisitor {
    private Project project;
    private RefScanInstrument.RefScanContext context;