de.fub.bytecode.generic
Interface StackProducer

All Known Subinterfaces:
ConstantPushInstruction, PushInstruction
All Known Implementing Classes:
AALOAD, ArithmeticInstruction, BALOAD, CALOAD, ConversionInstruction, InvokeInstruction, LALOAD, NEWARRAY, Select, SWAP, DALOAD, DCMPG, JsrInstruction, SALOAD, CHECKCAST, FALOAD, GETFIELD, INSTANCEOF, FCMPG, ANEWARRAY, DCMPL, IALOAD, NEW, ARRAYLENGTH, FCMPL

public interface StackProducer

Denote an instruction that may produce a value on top of the stack (this excludes DUP_X1, e.g.)

Version:
$Id: StackProducer.java,v 1.2 2001/05/09 09:26:57 dahm Exp $
Author:
M. Dahm

Method Summary
 int produceStack(ConstantPoolGen cpg)
           
 

Method Detail

produceStack

public int produceStack(ConstantPoolGen cpg)
Returns:
how many words are produced on stack