org.apache.bcel.generic

Class ConversionInstruction

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

Super class for the x2y family of instructions.

Version: $Id: ConversionInstruction.java 386056 2006-03-15 11:31:56Z tcurdt $

Author: M. Dahm

Constructor Summary
ConversionInstruction()
Empty constructor needed for the Class.newInstance() statement in Instruction.readInstruction().
protected ConversionInstruction(short opcode)
Method Summary
TypegetType(ConstantPoolGen cp)

Constructor Detail

ConversionInstruction

ConversionInstruction()
Empty constructor needed for the Class.newInstance() statement in Instruction.readInstruction(). Not to be used otherwise.

ConversionInstruction

protected ConversionInstruction(short opcode)

Parameters: opcode opcode of instruction

Method Detail

getType

public Type getType(ConstantPoolGen cp)

Returns: type associated with the instruction