org.apache.bcel.generic

Interface StackConsumer

Known Subinterfaces:
PopInstruction
Known Implementing Classes:
AASTORE, ArithmeticInstruction, ARETURN, ASTORE, BASTORE, CASTORE, CHECKCAST, ConversionInstruction, D2F, D2I, D2L, DADD, DASTORE, DCMPG, DCMPL, DDIV, DMUL, DNEG, DREM, DRETURN, DSTORE, DSUB, F2D, F2I, F2L, FADD, FASTORE, FCMPG, FCMPL, FDIV, FMUL, FNEG, FREM, FRETURN, FSTORE, FSUB, GETFIELD, I2B, I2C, I2D, I2F, I2L, I2S, IADD, IAND, IASTORE, IDIV, IfInstruction, IFEQ, IFGE, IFGT, IFLE, IFLT, IFNE, IFNONNULL, IFNULL, IF_ACMPEQ, IF_ACMPNE, IF_ICMPEQ, IF_ICMPGE, IF_ICMPGT, IF_ICMPLE, IF_ICMPLT, IF_ICMPNE, IMUL, InvokeInstruction, INEG, INSTANCEOF, INVOKEINTERFACE, INVOKESPECIAL, INVOKESTATIC, INVOKEVIRTUAL, IOR, IREM, IRETURN, ISHL, ISHR, ISTORE, ISUB, IUSHR, IXOR, L2D, L2F, L2I, LADD, LAND, LASTORE, LCMP, LDIV, LMUL, LNEG, LOR, LREM, LRETURN, LSHL, LSHR, LSTORE, LSUB, LUSHR, LXOR, MONITORENTER, MONITOREXIT, POP, POP2, PUTFIELD, PUTSTATIC, ReturnInstruction, RETURN, SASTORE, StoreInstruction, SWAP

public interface StackConsumer

Denote an instruction that may consume a value from the stack.
Version:
$Id: StackConsumer.java,v 1.1.1.1 2001/10/29 20:00:27 jvanzyl Exp $
Author:
M. Dahm

Method Summary

int
consumeStack(ConstantPoolGen cpg)

Method Details

consumeStack

public int consumeStack(ConstantPoolGen cpg)
Returns:
how many words are consumed from stack