## Uses of Class
org.apache.bcel.generic.StackInstruction

- Packages that use StackInstruction
  Package | Description
  --- | ---
  org.apache.bcel.generic | This package contains the "generic" part of the Byte Code Engineering Library, i.e., classes to dynamically modify class objects and byte code instructions.
  org.apache.bcel.verifier.structurals | Provides a PassVerifier class mostly used internally by JustIce, yielding a control flow graph for public use as a nice side effect.

- - ### Uses of StackInstruction in org.apache.bcel.generic

    Subclasses of StackInstruction in org.apache.bcel.generic
    Modifier and Type | Class and Description
    --- | ---
    `class` | `DUP` DUP - Duplicate top operand stack word
    `class` | `DUP_X1` DUP_X1 - Duplicate top operand stack word and put two down
    `class` | `DUP_X2` DUP_X2 - Duplicate top operand stack word and put three down
    `class` | `DUP2` DUP2 - Duplicate two top operand stack words
    `class` | `DUP2_X1` DUP2_X1 - Duplicate two top operand stack words and put three down
    `class` | `DUP2_X2` DUP2_X2 - Duplicate two top operand stack words and put four down
    `class` | `POP` POP - Pop top operand stack word
    `class` | `POP2` POP2 - Pop two top operand stack words
    `class` | `SWAP` SWAP - Swa top operand stack word

    Fields in org.apache.bcel.generic declared as StackInstruction
    Modifier and Type | Field and Description
    --- | ---
    `static StackInstruction` | InstructionConst.`DUP`
    `static StackInstruction` | InstructionConstants.`DUP` Deprecated.
    `static StackInstruction` | InstructionConst.`DUP_X1`
    `static StackInstruction` | InstructionConstants.`DUP_X1` Deprecated.
    `static StackInstruction` | InstructionConst.`DUP_X2`
    `static StackInstruction` | InstructionConstants.`DUP_X2` Deprecated.
    `static StackInstruction` | InstructionConst.`DUP2`
    `static StackInstruction` | InstructionConstants.`DUP2` Deprecated.
    `static StackInstruction` | InstructionConst.`DUP2_X1`
    `static StackInstruction` | InstructionConstants.`DUP2_X1` Deprecated.
    `static StackInstruction` | InstructionConst.`DUP2_X2`
    `static StackInstruction` | InstructionConstants.`DUP2_X2` Deprecated.
    `static StackInstruction` | InstructionConst.`POP`
    `static StackInstruction` | InstructionConstants.`POP` Deprecated.
    `static StackInstruction` | InstructionConst.`POP2`
    `static StackInstruction` | InstructionConstants.`POP2` Deprecated.
    `static StackInstruction` | InstructionConst.`SWAP`
    `static StackInstruction` | InstructionConstants.`SWAP` Deprecated.

    Methods in org.apache.bcel.generic that return StackInstruction
    Modifier and Type | Method and Description
    --- | ---
    `static StackInstruction` | InstructionFactory.`createDup_1(int size)`
    `static StackInstruction` | InstructionFactory.`createDup_2(int size)`
    `static StackInstruction` | InstructionFactory.`createDup(int size)`
    `static StackInstruction` | InstructionFactory.`createPop(int size)`

    Methods in org.apache.bcel.generic with parameters of type StackInstruction
    Modifier and Type | Method and Description
    --- | ---
    `void` | EmptyVisitor.`visitStackInstruction(StackInstruction obj)`
    `void` | Visitor.`visitStackInstruction(StackInstruction obj)`

  - ### Uses of StackInstruction in org.apache.bcel.verifier.structurals

    Methods in org.apache.bcel.verifier.structurals with parameters of type StackInstruction
    Modifier and Type | Method and Description
    --- | ---
    `void` | InstConstraintVisitor.`visitStackInstruction(StackInstruction o)` Ensures the general preconditions of a StackInstruction instance.

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