org.apache.bcel.generic

Class StackInstruction

public abstract class StackInstruction extends Instruction

Super class for stack operations like DUP and POP.

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

Author: M. Dahm

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

Constructor Detail

StackInstruction

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

StackInstruction

protected StackInstruction(short opcode)

Parameters: opcode instruction opcode

Method Detail

getType

public Type getType(ConstantPoolGen cp)

Returns: Type.UNKNOWN