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 ModuleInfoGenerator.java

/**
 * Generate a Java 9 module-info.class file to the target/classes directory.
 * 
 * @author Kai Burjack
 */
public class ModuleInfoGenerator implements Opcodes {

From source file Test2.java

@SuppressWarnings({ "rawtypes", "unchecked" })
public class Test2 implements Opcodes {
    public final static String DATAS_NAME = "com/gemstone/gemfire/DataSerializable";

    public static void main(String[] args) throws Exception {

From source file Test1.java

@SuppressWarnings({ "rawtypes", "unchecked" })
public class Test1 implements Opcodes {
    public final static String DATAS_NAME = "com/gemstone/gemfire/DataSerializable";

    public static void main(String[] args) throws Exception {
        BufferedInputStream in = new BufferedInputStream(new FileInputStream(

From source file Java6to2.java

/**
 * Transforms the compiled Java 1.6 classes to be compatible with Java 1.2.
 * <p>
 * JOML uses no Java 1.6 specific classes or language features. However, two things need to be transformed:
 * <ul>
 * <li>string concatenation uses java.lang.StringBuilder in Java 1.6. We replace this with java.lang.StringBuffer

From source file asm.de.qaware.campus.secpro.agent.impl.AdminServiceImplDump.java

/**
 * This class is the ASM dump of the original LoginServiceImpl.
 * <p>
 * Use gradlew asmifyOriginal
 */
public class AdminServiceImplDump implements Opcodes {

From source file asm.de.qaware.campus.secpro.agent.impl.EavesdropAdminServiceImplDump.java

/**
 * This class is the ASM dump of the modified EavesdropLoginServiceImpl.
 * <p>
 * Use gradlew asmifyModified
 */
public class EavesdropAdminServiceImplDump implements Opcodes {

From source file asmlib.UninitializedCallChecker.java

/** Verificador que procura invocaes de mtodos que so feitas sobre instncias ainda incompletas
  * de objectos (instncias ainda no completamente contrudas).
  **/

public class UninitializedCallChecker extends MethodVisitor implements Opcodes {

From source file bitmmo.PatternElementTest.java

public class PatternElementTest implements Opcodes {
    @Test
    public void testAnyElement() {
        AnyElement e = new AnyElement();
        assertEquals(true, e.matches(null));
    }

From source file bitmmo.PatternTest.java

public class PatternTest implements Opcodes {
    @Test
    public void testContains() {
        InsnList list = new InsnList();
        // this is just junk code
        // its contents is irrelevant

From source file blockphysics.asm.BPTransformer.java

public class BPTransformer implements net.minecraft.launchwrapper.IClassTransformer, Opcodes {
    @Override
    public byte[] transform(String name, String mcpName, byte[] bytes) {
        if (name.equals("adq")) {
            return transformChunk(bytes);
        } else if (name.equals("adr")) {