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.peergreen.jartransformer.adapter.expiration.ExpirationDateMethodAdapter.java

/**
 * Expiration date method adapter.
 * @author Florent Benoit
 */
public class ExpirationDateMethodAdapter extends MethodVisitor {

From source file com.redhat.byteman.jli.agentasm.JliMethodVisitor.java

/**
 * ASM method visitor example
 */
class JliMethodVisitor extends MethodVisitor {
    public JliMethodVisitor(MethodVisitor mv) {
        super(Opcodes.ASM5, mv);

From source file com.sun.tdk.jcov.instrument.EntryCodeMethodAdapter.java

/**
 * @author Dmitry Fazunenko
 * @author Alexey Fedorchenko
 */
class EntryCodeMethodAdapter extends MethodVisitor {

From source file com.sun.tdk.jcov.instrument.ForkingMethodAdapter.java

/**
 * ForkingMethodAdapter
 *
 * @author Robert Field
 */
class ForkingMethodAdapter extends MethodVisitor {

From source file com.sun.tdk.jcov.instrument.InvokeMethodAdapter.java

/**
 * @author Leonid Mesnik
 * @author Sergey Borodin
 *
 * Used in dynamic instrumentation mode. It handles method invocations - sets
 * instructions to serve caller include options (setExpected[Refl] instructions)

From source file com.sun.tdk.jcov.instrument.MethodAnnotationAdapter.java

/**
 * Class that does nothing but collects runtime annotations
 *
 * @author Dmitry Fazunenko
 */
class MethodAnnotationAdapter extends MethodVisitor {

From source file com.sun.tdk.jcov.instrument.OffsetRecordingMethodAdapter.java

/**
 * OffsetRecordingMethodAdapter
 *
 * @author Robert Field
 */
class OffsetRecordingMethodAdapter extends MethodVisitor {

From source file com.sun.tdk.jcov.instrument.SavePointsMethodAdapter.java

/**
 * This class could be used to insert invocation of
 * com.sun.tdk.jcov.runtime.Collect.saveResults() into method.
 *
 *
 * @author Dmitry Fazunenko

From source file com.sun.tdk.jcov.instrument.StaticInvokeMethodAdapter.java

public class StaticInvokeMethodAdapter extends MethodVisitor {

    static int invokeCount = 0;
    private final String className;
    private final InstrumentationParams params;
    private String methName;

From source file com.taobao.android.builder.tools.asm.method.MethodReplaceMethodVisitor.java

public final class MethodReplaceMethodVisitor extends MethodVisitor {

    private static Logger logger = LoggerFactory.getLogger(MethodReplaceMethodVisitor.class);

    private MethodStore methodStore;
    private StringBuilder stringBuilder;