bcel API: Interface StackProducer
org.apache.bcel.generic
Interface StackProducer
- All Known Subinterfaces:
- ConstantPushInstruction, PushInstruction
- All Known Implementing Classes:
- AALOAD, ArithmeticInstruction, BALOAD, CALOAD, CHECKCAST, ConversionInstruction, DALOAD, DCMPL, FALOAD, FCMPG, FCMPL, GETFIELD, INSTANCEOF, InvokeInstruction, JsrInstruction, LALOAD, NEWARRAY, SALOAD, SWAP, IALOAD, NEW, Select, ARRAYLENGTH, ANEWARRAY, DCMPG
- 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.1.1.1 2001/10/29 20:00:27 jvanzyl Exp $
- Author:
- M. Dahm
produceStack
public int produceStack(ConstantPoolGen cpg)
- Returns:
- how many words are produced on stack