List of usage examples for org.objectweb.asm MethodVisitor subclass-usage
From source file org.fuin.units4j.analyzer.MCAMethodVisitor.java
/** * Visits a method and checks if one of a set of methods is called in that * method. */ public final class MCAMethodVisitor extends MethodVisitor {
From source file org.glowroot.agent.weaving.FrameDeduppingMethodVisitor.java
class FrameDeduppingMethodVisitor extends MethodVisitor { private boolean skipNextFrame; FrameDeduppingMethodVisitor(MethodVisitor mv) { super(ASM7, mv);
From source file org.greencheek.gc.memusage.agent.AddStaticAtomicLongInitializer.java
public class AddStaticAtomicLongInitializer extends MethodVisitor { private final Collection<MethodInfo> annotatedMeasurableMethods; public AddStaticAtomicLongInitializer(int api, MethodVisitor cw, Collection<MethodInfo> methods) { super(api, cw); annotatedMeasurableMethods = methods;// TODO Auto-generated constructor stub
From source file org.jacoco.core.internal.flow.LabelFlowAnalyzer.java
/** * Method visitor to collect flow related information about the {@link Label}s * within a class. It calculates the properties "multitarget" and "successor" * that can afterwards be obtained via {@link LabelInfo}. */ public final class LabelFlowAnalyzer extends MethodVisitor {
From source file org.jacoco.core.internal.flow.MethodProbesAdapter.java
/** * Adapter that creates additional visitor events for probes to be inserted into * a method. */ public final class MethodProbesAdapter extends MethodVisitor {
From source file org.jacoco.core.internal.flow.MethodProbesVisitor.java
/** * A {@link MethodVisitor} with additional methods to get probe insertion * information. */ public abstract class MethodProbesVisitor extends MethodVisitor {
From source file org.jacoco.core.internal.instr.DuplicateFrameEliminator.java
/**
* Eliminates consecutive stackmap frame definitions which causes ASM to create
* invalid class files. This situation occurs when the original class files
* contains additional stackmap frames at unexpected offsets, which is case for
* some class files compiled with ECJ.
*/
From source file org.jacoco.core.internal.instr.FrameTracker.java
/** * This method adapter tracks the state of the local variable and stack types. * With insertFrame() additional frames can then be added. The adapter is only * intended to be used with class file versions >= {@link Opcodes#V1_6}. */ class FrameTracker extends MethodVisitor implements IFrameInserter {
From source file org.jacoco.core.internal.instr.LazyFrameTracker.java
/** * Internal wrapper for the FrameTracker which activates frame tracking lazily * when the first frame is reported. */ class LazyFrameTracker extends MethodVisitor implements IFrameInserter {
From source file org.jacoco.core.internal.instr.ProbeInserter.java
/**
* Internal utility to add probes into the control flow of a method. The code
* for a probe simply sets a certain slot of a boolean array to true. In
* addition the probe array has to be retrieved at the beginning of the method
* and stored in a local variable.
*/