public class Invocation extends ReferencingInstruction
cp| Constructor and Description |
|---|
Invocation(byte[] bytes,
ConstantPool cp) |
| Modifier and Type | Method and Description |
|---|---|
String |
getMethodName()
Get the name of the target method.
|
String[] |
getParameterTypes()
Gets names of each parameter types.
|
String |
getReturnType()
Gets the return type.
|
short |
stackConsumption()
Get the stack consumption of this Invocation.
|
short |
stackUsage()
Count stack usage of this invocation.
|
String |
toString() |
getClassName, getDescriptor, getInternalName, getName, getReferencedTypeNamegetConstantPool, getEntry, getIndex, replaceConstantPoolgetAttribute, getBranchParent, getBytes, getOffset, getOpcode, isBranchTarget, length, setAttribute, setAttribute, setBytes, setOffsetpublic Invocation(byte[] bytes,
ConstantPool cp)
public String getMethodName()
public String getReturnType()
public String[] getParameterTypes()
public short stackConsumption()
stackConsumption in class Instructionpublic short stackUsage()
stackUsage in class Instructionpublic String toString()
toString in class CPInstructionCopyright © 2017. All rights reserved.