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

Packages that use StackInstruction
Package
Description
org.apache.bcel.generic
Generic part of the Apache Byte Code Engineering Library (BCEL), classes to dynamically modify class objects and byte code instructions.
org.apache.bcel.verifier.structurals
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
  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
  Description
  `static final StackInstruction`
  InstructionConst.`DUP`
  `static final StackInstruction`
  InstructionConstants.`DUP`
  Deprecated.
  `static final StackInstruction`
  InstructionConst.`DUP_X1`
  `static final StackInstruction`
  InstructionConstants.`DUP_X1`
  Deprecated.
  `static final StackInstruction`
  InstructionConst.`DUP_X2`
  `static final StackInstruction`
  InstructionConstants.`DUP_X2`
  Deprecated.
  `static final StackInstruction`
  InstructionConst.`DUP2`
  `static final StackInstruction`
  InstructionConstants.`DUP2`
  Deprecated.
  `static final StackInstruction`
  InstructionConst.`DUP2_X1`
  `static final StackInstruction`
  InstructionConstants.`DUP2_X1`
  Deprecated.
  `static final StackInstruction`
  InstructionConst.`DUP2_X2`
  `static final StackInstruction`
  InstructionConstants.`DUP2_X2`
  Deprecated.
  `static final StackInstruction`
  InstructionConst.`POP`
  `static final StackInstruction`
  InstructionConstants.`POP`
  Deprecated.
  `static final StackInstruction`
  InstructionConst.`POP2`
  `static final StackInstruction`
  InstructionConstants.`POP2`
  Deprecated.
  `static final StackInstruction`
  InstructionConst.`SWAP`
  `static final StackInstruction`
  InstructionConstants.`SWAP`
  Deprecated.
  Methods in org.apache.bcel.generic that return StackInstruction
  Modifier and Type
  Method
  Description
  `static StackInstruction`
  InstructionFactory.`createDup(int size)`
  `static StackInstruction`
  InstructionFactory.`createDup_1(int size)`
  `static StackInstruction`
  InstructionFactory.`createDup_2(int size)`
  `static StackInstruction`
  InstructionFactory.`createPop(int size)`
  Methods in org.apache.bcel.generic with parameters of type StackInstruction
  Modifier and Type
  Method
  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
  Description
  `void`
  InstConstraintVisitor.`visitStackInstruction(StackInstruction o)`
  Ensures the general preconditions of a StackInstruction instance.