Package | Description |
---|---|
org.objectweb.asm.commons |
Provides some useful class and method adapters.
|
Modifier and Type | Method | Description |
---|---|---|
static Method |
Method.getMethod(Constructor<?> c) |
Creates a new
Method . |
static Method |
Method.getMethod(Method m) |
Creates a new
Method . |
static Method |
Method.getMethod(String method) |
Returns a
Method corresponding to the given Java method
declaration. |
static Method |
Method.getMethod(String method,
boolean defaultPackage) |
Returns a
Method corresponding to the given Java method
declaration. |
Modifier and Type | Method | Description |
---|---|---|
void |
GeneratorAdapter.invokeConstructor(Type type,
Method method) |
Generates the instruction to invoke a constructor.
|
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 | Description |
---|---|
GeneratorAdapter(int access,
Method method,
String signature,
Type[] exceptions,
ClassVisitor cv) |
Creates a new
GeneratorAdapter . |
GeneratorAdapter(int access,
Method method,
MethodVisitor mv) |
Creates a new
GeneratorAdapter . |