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, getReferencedTypeName
getConstantPool, getEntry, getIndex, replaceConstantPool
getAttribute, getBranchParent, getBytes, getOffset, getOpcode, isBranchTarget, length, setAttribute, setAttribute, setBytes, setOffset
public Invocation(byte[] bytes, ConstantPool cp)
public String getMethodName()
public String getReturnType()
public String[] getParameterTypes()
public short stackConsumption()
stackConsumption
in class Instruction
public short stackUsage()
stackUsage
in class Instruction
public String toString()
toString
in class CPInstruction
Copyright © 2017. All rights reserved.