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

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

Introduction

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

Usage

From source file apb.processors.ClassWriter.java

class ClassWriter extends org.objectweb.asm.ClassWriter {
    //~ Constructors .........................................................................................

    public ClassWriter(int flags) {
        super(flags);
    }

From source file blue.origami.asm.OClassWriter.java

public class OClassWriter extends ClassWriter implements OStackable<OClassWriter>, Opcodes, OArrayUtils {
    private final String cname;
    public OClassDecl cdecl;

    OClassWriter(OClassDecl cdecl) {
        super(ClassWriter.COMPUTE_FRAMES);

From source file ch.eiafr.cojac.ModifiedClassWriter.java

/**
 * The code of this class comes from the tests of the ASM library
 * except that the classloader is added to ensure this class to find the classes
 * in the getCommonSuperClass method.
 * The only goal of this class is to don't load the classes passed to the 
 * getCommonSuperClass method (the default implementation does).

From source file ch.puzzle.modjprof.instrumentation.AgentClassWriter.java

/**
 * This class extends the asm class {@link ClassWriter} with the ability to load
 * the common super class of two classes with a specific {@link ClassLoader}.
 */
public class AgentClassWriter extends ClassWriter {

From source file com.axway.jmb.RecordClassBuilder.java

/**
 * Class generator for Message Builder's Record type.
 *
 * @author Florin Potera
 */

From source file com.develorium.metracer.asm.MetracerClassWriter.java

public class MetracerClassWriter extends ClassWriter {
    private ClassLoader classLoader;

    public MetracerClassWriter(ClassReader theReader, ClassLoader theLoader) {
        super(theReader, ClassWriter.COMPUTE_MAXS | ClassWriter.COMPUTE_FRAMES);
        classLoader = theLoader;

From source file com.facebook.presto.byteCode.SmartClassWriter.java

public class SmartClassWriter extends ClassWriter {
    private final ClassInfoLoader classInfoLoader;

    public SmartClassWriter(ClassInfoLoader classInfoLoader) {
        super(ClassWriter.COMPUTE_FRAMES);
        this.classInfoLoader = classInfoLoader;

From source file com.geeksaga.light.profiler.asm.ClassWriterWrapper.java

/**
 * @author geeksaga
 */
public class ClassWriterWrapper extends ClassWriter {
    private final TypeHierarchyUtil typeHierarchyUtil = new TypeHierarchyUtil();

From source file com.github.cojac.ModifiedClassWriter.java

/**
 * The code of this class comes from the tests of the ASM library
 * except that the classloader is added to ensure this class to find the classes
 * in the getCommonSuperClass method.
 * The only goal of this class is to don't load the classes passed to the 
 * getCommonSuperClass method (the default implementation does).

From source file com.google.devtools.build.wireless.testing.java.injector.ClasspathBasedClassWriter.java

/**
 * 
 * This class writer uses a different classloader to to load hierarchies.
 * The method getCommonSuperClass of the superclass try to instantiate a class 
 * form the other when needed but in cases in which code is generated at runtime
 * this mechanisms does not work.