software.coley.cafedude.tree.insn.StackInsn Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of cafedude-tree Show documentation
Show all versions of cafedude-tree Show documentation
Tree module for CafeDude, containing a simplified intermediate model for classes
The newest version!
package software.coley.cafedude.tree.insn;
import software.coley.cafedude.classfile.instruction.Opcodes;
/**
* Instruction for the stack manipulation instructions with no operands.
* Includes the following instructions:
*
* - {@link Opcodes#POP}
* - {@link Opcodes#POP2}
* - {@link Opcodes#DUP}
* - {@link Opcodes#DUP_X1}
* - {@link Opcodes#DUP_X2}
* - {@link Opcodes#DUP2}
* - {@link Opcodes#DUP2_X1}
* - {@link Opcodes#DUP2_X2}
* - {@link Opcodes#SWAP}
*
*
* @author Justus Garbe
*/
public class StackInsn extends Insn {
/**
* @param opcode
* Instruction opcode.
*/
public StackInsn(int opcode) {
super(InsnKind.STACK, opcode);
}
}