Example usage for org.objectweb.asm Opcodes interface-usage

List of usage examples for org.objectweb.asm Opcodes interface-usage

Introduction

In this page you can find the example usage for org.objectweb.asm Opcodes interface-usage.

Usage

From source file rubah.bytecode.transformers.ClassNameGatherer.java

public class ClassNameGatherer extends ClassVisitor implements Opcodes {

    private Set<String> classNames = new HashSet<String>();

    public ClassNameGatherer() {
        super(ASM5);

From source file rubah.bytecode.transformers.ProxyGenerator.java

public class ProxyGenerator implements Opcodes {

    private static final String PROXY_SUFFIX = "__PROXY";
    public static final String PROXIED_OBJ_NAME = "proxied";
    public static final Type PROXIED_OBJ_TYPE = Type.getType(Object.class);
    public static final String BASE_OBJ_NAME = "base";

From source file rubah.bytecode.transformers.ReplaceOriginalNamesByUnique.java

public class ReplaceOriginalNamesByUnique extends ClassVisitor implements Opcodes {
    protected HashMap<Object, String> namesMap;
    protected HashMap<String, Object> objectsMap;
    private Clazz thisClass;
    private Namespace namespace;

From source file rubah.bytecode.transformers.RubahTransformer.java

public class RubahTransformer extends ClassVisitor implements Opcodes {

    protected Clazz thisClass;
    protected HashMap<String, Object> objectsMap;
    protected Namespace namespace;
    protected boolean isInterface;

From source file rubah.bytecode.transformers.UpdatableClassRenamer.java

public class UpdatableClassRenamer extends ClassVisitor implements Opcodes {
    private static final String NAME_VERSION_SEPARATOR = "__";

    private HashMap<String, Object> objectsMap;

    private Version version;

From source file rubah.runtime.classloader.DefaultClassLoader.java

public abstract class DefaultClassLoader implements Opcodes {
    protected Namespace namespace;
    protected TransformerFactory factory;

    public DefaultClassLoader(Namespace namespace, TransformerFactory factory) {
        this.namespace = namespace;

From source file rubah.runtime.classloader.PureConversionClassLoader.java

public class PureConversionClassLoader extends DefaultClassLoader implements Opcodes {
    public static final String PURE_CONVERSION_PREFFIX = "conversion.Conversion";
    private static final String CONSTRUCTOR_NAME = "<init>";
    private static final String OBJECT_INTERNAL_NAME = Type.getType(Object.class).getInternalName();

    private Version version;

From source file rubah.runtime.classloader.RubahClassloader.java

public class RubahClassloader extends ClassLoader implements Opcodes {
    // Package names of classes that might have interesting state before Rubah class gets loaded
    private static final Set<String> INTERESTING_PACKAGE_NAMES = new HashSet<String>(Arrays.asList(new String[] {
            HashSet.class.getPackage().getName(), ConcurrentHashMap.class.getPackage().getName(), "sun.nio.ch", }));

    private static final Unsafe unsafe = UnsafeUtils.getUnsafe();

From source file rubah.runtime.state.ComputingUpdateMetadata.java

public class ComputingUpdateMetadata extends RubahState implements Opcodes {
    private static final String UPDATE_PACKAGE_DUMP_FILE_PROPERTY = "dumpUpdatePackage";
    private static final File UPDATE_PACKAGE_DUMP_FILE;

    static {
        String fileName = System.getProperty(UPDATE_PACKAGE_DUMP_FILE_PROPERTY);

From source file rubah.tools.BootstrapJarProcessor.java

public class BootstrapJarProcessor extends ReadWriteTool implements Opcodes {
    public static final String TOOL_NAME = "bootstraper";
    private static final String META_INFO_FILE = "metainfo.bin";

    private Namespace namespace = new Namespace();