| Package | Description |
|---|---|
| serp.bytecode |
Bytecode Manipuation
|
| serp.bytecode.visitor |
Bytecode Visitor
|
| Modifier and Type | Method and Description |
|---|---|
MethodInstruction |
Code.invokeinterface()
Invoke a method on an interface; the
invokeinterface opcode. |
MethodInstruction |
Code.invokespecial()
Invoke a method non-virtually, as for constructors and superclass
methods; the
invokespecial opcode. |
MethodInstruction |
Code.invokestatic()
Invoke a static method; the
invokestatic opcode. |
MethodInstruction |
Code.invokevirtual()
Invoke a virtual method; the
invokevirtual opcode. |
MethodInstruction |
MethodInstruction.setMethod(BCClass dec,
java.lang.String name,
BCClass returnType,
BCClass[] params)
Set the method this instruction operates on.
|
MethodInstruction |
MethodInstruction.setMethod(BCMethod method)
Set the method this instruction operates on.
|
MethodInstruction |
MethodInstruction.setMethod(java.lang.Class dec,
java.lang.String name,
java.lang.Class returnType,
java.lang.Class[] params)
Set the method this instruction operates on.
|
MethodInstruction |
MethodInstruction.setMethod(java.lang.reflect.Constructor method)
Set the method this instruction operates on.
|
MethodInstruction |
MethodInstruction.setMethod(java.lang.reflect.Method method)
Set the method this instruction operates on.
|
MethodInstruction |
MethodInstruction.setMethod(java.lang.String name,
BCClass returnType,
BCClass[] params)
Set the method this instruction operates on, for methods that are
declared by the current class.
|
MethodInstruction |
MethodInstruction.setMethod(java.lang.String name,
java.lang.Class returnType,
java.lang.Class[] params)
Set the method this instruction operates on, for methods that are
declared by the current class.
|
MethodInstruction |
MethodInstruction.setMethod(java.lang.String name,
java.lang.String returnType,
java.lang.String[] params)
Set the method this instruction operates on, for methods that are
declared by the current class.
|
MethodInstruction |
MethodInstruction.setMethod(java.lang.String dec,
java.lang.String name,
java.lang.String returnType,
java.lang.String[] params)
Set the method this instruction operates on.
|
MethodInstruction |
MethodInstruction.setMethodDeclarer(BCClass type)
Set the declaring type of the method this instruction operates on.
|
MethodInstruction |
MethodInstruction.setMethodDeclarer(java.lang.Class type)
Set the declaring type of the method this instruction operates on.
|
MethodInstruction |
MethodInstruction.setMethodDeclarer(java.lang.String type)
Set the declaring type of the method this instruction operates on.
|
MethodInstruction |
MethodInstruction.setMethodIndex(int index)
Set the index in the class
ConstantPool of the
ComplexEntry describing the method to operate on. |
MethodInstruction |
MethodInstruction.setMethodName(java.lang.String name)
Set the name of the method this instruction operates on.
|
MethodInstruction |
MethodInstruction.setMethodParams(java.lang.String[] types)
Set the param types of the method this instruction operates on.
|
MethodInstruction |
MethodInstruction.setMethodReturn(BCClass type)
Set the return type of the method this instruction operates on.
|
MethodInstruction |
MethodInstruction.setMethodReturn(java.lang.Class type)
Set the return type of the method this instruction operates on.
|
MethodInstruction |
MethodInstruction.setMethodReturn(java.lang.String type)
Set the return type of the method this instruction operates on.
|
| Modifier and Type | Method and Description |
|---|---|
void |
PrettyPrintVisitor.enterMethodInstruction(MethodInstruction obj) |
void |
BCVisitor.enterMethodInstruction(MethodInstruction obj) |
void |
BCVisitor.exitMethodInstruction(MethodInstruction obj) |
Copyright © 2002-2013. All Rights Reserved.