Package | Description |
---|---|
org.objectweb.asm.commons |
Provides some useful class and method adapters.
|
Modifier and Type | Field and Description |
---|---|
private static Method |
GeneratorAdapter.BOOLEAN_VALUE |
private static Method |
GeneratorAdapter.CHAR_VALUE |
private static Method |
GeneratorAdapter.DOUBLE_VALUE |
private static Method |
GeneratorAdapter.FLOAT_VALUE |
private static Method |
GeneratorAdapter.INT_VALUE |
private static Method |
GeneratorAdapter.LONG_VALUE |
Modifier and Type | Method and Description |
---|---|
static Method |
Method.getMethod(java.lang.reflect.Constructor<?> constructor)
Creates a new
Method . |
static Method |
Method.getMethod(java.lang.reflect.Method method)
Creates a new
Method . |
static Method |
Method.getMethod(java.lang.String method)
Returns a
Method corresponding to the given Java method declaration. |
static Method |
Method.getMethod(java.lang.String method,
boolean defaultPackage)
Returns a
Method corresponding to the given Java method declaration. |
Modifier and Type | Method and Description |
---|---|
void |
GeneratorAdapter.invokeConstructor(Type type,
Method method)
Generates the instruction to invoke a constructor.
|
private void |
GeneratorAdapter.invokeInsn(int opcode,
Type type,
Method method,
boolean isInterface)
Generates an invoke method instruction.
|
void |
GeneratorAdapter.invokeInterface(Type owner,
Method method)
Generates the instruction to invoke an interface method.
|
void |
GeneratorAdapter.invokeStatic(Type owner,
Method method)
Generates the instruction to invoke a static method.
|
void |
GeneratorAdapter.invokeVirtual(Type owner,
Method method)
Generates the instruction to invoke a normal method.
|
Constructor and Description |
---|
GeneratorAdapter(int access,
Method method,
MethodVisitor methodVisitor)
Constructs a new
GeneratorAdapter . |
GeneratorAdapter(int access,
Method method,
java.lang.String signature,
Type[] exceptions,
ClassVisitor classVisitor)
Constructs a new
GeneratorAdapter . |