List of usage examples for org.objectweb.asm.commons AdviceAdapter subclass-usage
From source file co.cask.cdap.internal.asm.FinallyAdapter.java
/** * A {@link MethodVisitor} that wraps method call with {@code try-finally} block. * Sub-class can override the {@link #onFinally(int)} method to insert custom code in the finally block. */ public class FinallyAdapter extends AdviceAdapter {
From source file com.axway.jmb.MethodBuilder.java
/**
* Visitor for java method's build.
*
* @author Florin Potera
*/
From source file com.develorium.metracer.asm.PatternMatchedMethodMutator.java
class PatternMatchedMethodMutator extends AdviceAdapter { private String className = null; private MethodNode method = null; private String methodName = null; private boolean isStatic = false; private boolean isWithStackTraces = false;
From source file com.dragome.methodlogger.serverside.MethodLoggerAdapter.java
class MethodReturnAdapter extends AdviceAdapter { private String name; private String owner; protected Label l0; public MethodReturnAdapter(int api, String owner, int access, String name, String desc, MethodVisitor mv) {
From source file com.google.code.jtracert.instrument.impl.asm.JTracertMethodAdapter.java
/** * Distributed under GNU GENERAL PUBLIC LICENSE Version 3 * * @author Dmitry.Bedrin@gmail.com */ public class JTracertMethodAdapter extends AdviceAdapter implements ConfigurableTransformer {
From source file com.google.code.jtracert.instrument.impl.asm.JTracertSystemMethodAdapter.java
/** * Distributed under GNU GENERAL PUBLIC LICENSE Version 3 * * @author Dmitry.Bedrin@gmail.com */ public class JTracertSystemMethodAdapter extends AdviceAdapter implements Opcodes {
From source file com.google.java.contract.core.agent.LineNumberingMethodAdapter.java
/**
* A method adapter that adds {@link #lineNumber} to the beginning of
* its instructions.
*
* @author nhat.minh.le@huoc.org (Nhat Minh L)
*/
From source file com.google.java.contract.core.agent.SpecificationMethodAdapter.java
/**
* A bytecode method visitor that instruments the original method to
* add calls to contract methods, and injects these contract methods,
* if necessary, into the enclosing class.
*
* @author nhat.minh.le@huoc.org (Nhat Minh L)
From source file com.mgmtp.perfload.agent.hook.MeasuringHookMethodVisitor.java
/** * An ASM {@link MethodVisitor} that weave the {@link HookManager} into a method's byte code. * * @author rnaegele */ public class MeasuringHookMethodVisitor extends AdviceAdapter {
From source file com.mgmtp.perfload.agent.hook.ServletApiHookMethodVisitor.java
/** * An ASM {@link MethodVisitor} that weave the {@link HookManager} into a method's byte code. * * @author rnaegele */ public class ServletApiHookMethodVisitor extends AdviceAdapter {