StackConsumer (Apache Commons BCEL 6.4.1 API)

org.apache.bcel.generic

## Interface StackConsumer

- All Known Subinterfaces:
    PopInstruction
  All Known Implementing Classes:
    AASTORE, ANEWARRAY, ARETURN, ArithmeticInstruction, ARRAYLENGTH, 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, IF_ACMPEQ, IF_ACMPNE, IF_ICMPEQ, IF_ICMPGE, IF_ICMPGT, IF_ICMPLE, IF_ICMPLT, IF_ICMPNE, IFEQ, IFGE, IFGT, IfInstruction, IFLE, IFLT, IFNE, IFNONNULL, IFNULL, IMUL, INEG, INSTANCEOF, INVOKEDYNAMIC, InvokeInstruction, INVOKEINTERFACE, INVOKESPECIAL, INVOKESTATIC, INVOKEVIRTUAL, IOR, IREM, IRETURN, ISHL, ISHR, ISTORE, ISUB, IUSHR, IXOR, L2D, L2F, L2I, LADD, LAND, LASTORE, LCMP, LDIV, LMUL, LNEG, LOOKUPSWITCH, LOR, LREM, LRETURN, LSHL, LSHR, LSTORE, LSUB, LUSHR, LXOR, MONITORENTER, MONITOREXIT, POP, POP2, PUTFIELD, PUTSTATIC, RETURN, ReturnInstruction, SASTORE, Select, StoreInstruction, SWAP, TABLESWITCH

      public interface StackConsumer

  Denote an instruction that may consume a value from the stack.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `int` | `consumeStack(ConstantPoolGen cpg)`

- - ### Method Detail

    - #### consumeStack

          int consumeStack(ConstantPoolGen cpg)

      Returns:
        how many words are consumed from stack

Copyright © 2004–2019 The Apache Software Foundation. All rights reserved.