alt.jiapi.reflect.instruction
Class Invocation
java.lang.Object
alt.jiapi.reflect.Instruction
alt.jiapi.reflect.instruction.CPInstruction
alt.jiapi.reflect.instruction.ReferencingInstruction
alt.jiapi.reflect.instruction.Invocation
- All Implemented Interfaces:
- java.lang.Cloneable
public class Invocation
- extends ReferencingInstruction
This class represents a method invocation instruction.
- Version:
- $Revision: 1.17 $ $Date: 2006/01/31 11:11:42 $
- Author:
- Mika Riekkinen, Joni Suominen
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Invocation
public Invocation(byte[] bytes,
ConstantPool cp)
getMethodName
public java.lang.String getMethodName()
- Get the name of the target method.
getParameterTypes
public java.lang.String[] getParameterTypes()
- Gets names of each parameter types.
getReturnType
public java.lang.String getReturnType()
- Gets the return type.
stackConsumption
public short stackConsumption()
- Get the stack consumption of this Invocation.
- Overrides:
stackConsumption
in class Instruction
- Returns:
- Stack consumption
stackUsage
public short stackUsage()
- Count stack usage of this invocation.
- Overrides:
stackUsage
in class Instruction
- Returns:
- Stack usage
toString
public java.lang.String toString()
- Overrides:
toString
in class CPInstruction
Copyright © 2001. Documenation generated August 26 2011.