Example usage for org.objectweb.asm.commons Method Method

List of usage examples for org.objectweb.asm.commons Method Method

Introduction

In this page you can find the example usage for org.objectweb.asm.commons Method Method.

Prototype

public Method(final String name, final String descriptor) 

Source Link

Document

Constructs a new Method .

Usage

From source file:de.bodden.tamiflex.playout.transformation.clazz.ClassNewInstanceTransformation.java

License:Open Source License

public ClassNewInstanceTransformation() {
    super(new Method("newInstance", "()Ljava/lang/Object;"));
}

From source file:de.bodden.tamiflex.playout.transformation.constructor.ConstructorGetModifiersTransformation.java

License:Open Source License

public ConstructorGetModifiersTransformation() {
    super(new Method("getModifiers", "()I"));
}

From source file:de.bodden.tamiflex.playout.transformation.constructor.ConstructorNewInstanceTransformation.java

License:Open Source License

public ConstructorNewInstanceTransformation() {
    super(new Method("newInstance", "([Ljava/lang/Object;)Ljava/lang/Object;"));
}

From source file:de.bodden.tamiflex.playout.transformation.constructor.ConstructorToGenericStringTransformation.java

License:Open Source License

public ConstructorToGenericStringTransformation() {
    super(new Method("toGenericString", "()Ljava/lang/String;"));
}

From source file:de.bodden.tamiflex.playout.transformation.constructor.ConstructorToStringTransformation.java

License:Open Source License

public ConstructorToStringTransformation() {
    super(new Method("toString", "()Ljava/lang/String;"));
}

From source file:de.bodden.tamiflex.playout.transformation.field.FieldGetDeclaringClassTransformation.java

License:Open Source License

public FieldGetDeclaringClassTransformation() {
    super(new Method("getDeclaringClass", "()Ljava/lang/Class;"));
}

From source file:de.bodden.tamiflex.playout.transformation.field.FieldGetModifiersTransformation.java

License:Open Source License

public FieldGetModifiersTransformation() {
    super(new Method("getModifiers", "()I"));
}

From source file:de.bodden.tamiflex.playout.transformation.field.FieldGetNameTransformation.java

License:Open Source License

public FieldGetNameTransformation() {
    super(new Method("getName", "()Ljava/lang/String;"));
}

From source file:de.bodden.tamiflex.playout.transformation.field.FieldGetTransformation.java

License:Open Source License

public FieldGetTransformation() {
    super(new Method("get", "(Ljava/lang/Object;)Ljava/lang/Object;"),
            new Method("getBoolean", "(Ljava/lang/Object;)Z"), new Method("getByte", "(Ljava/lang/Object;)B"),
            new Method("getChar", "(Ljava/lang/Object;)C"), new Method("getShort", "(Ljava/lang/Object;)S"),
            new Method("getInt", "(Ljava/lang/Object;)I"), new Method("getLong", "(Ljava/lang/Object;)J"),
            new Method("getFloat", "(Ljava/lang/Object;)F"), new Method("getDouble", "(Ljava/lang/Object;)D"));
}

From source file:de.bodden.tamiflex.playout.transformation.field.FieldSetTransformation.java

License:Open Source License

public FieldSetTransformation() {
    super(new Method("set", "(Ljava/lang/Object;Ljava/lang/Object;)V"),
            new Method("setBoolean", "(Ljava/lang/Object;Z)V"), new Method("setByte", "(Ljava/lang/Object;B)V"),
            new Method("setChar", "(Ljava/lang/Object;C)V"), new Method("setShort", "(Ljava/lang/Object;S)V"),
            new Method("setInt", "(Ljava/lang/Object;I)V"), new Method("setLong", "(Ljava/lang/Object;J)V"),
            new Method("setFloat", "(Ljava/lang/Object;F)V"),
            new Method("setDouble", "(Ljava/lang/Object;D)V"));
}