org.apache.bcel.generic

Class ArithmeticInstruction

public abstract class ArithmeticInstruction extends Instruction implements TypedInstruction, StackProducer, StackConsumer

Super class for the family of arithmetic instructions.
Constructor Summary
protected ArithmeticInstruction(short opcode)
Method Summary
TypegetType(ConstantPoolGen cp)

Constructor Detail

ArithmeticInstruction

protected ArithmeticInstruction(short opcode)

Parameters: opcode of instruction

Method Detail

getType

public Type getType(ConstantPoolGen cp)

Returns: type associated with the instruction