Package org.apache.bcel.generic
Class StackInstruction
java.lang.Object
org.apache.bcel.generic.Instruction
org.apache.bcel.generic.StackInstruction
- All Implemented Interfaces:
Cloneable
Super class for stack operations like DUP and POP.
-
Field Summary
Fields inherited from class org.apache.bcel.generic.Instruction
EMPTY_ARRAY, length, opcode
-
Constructor Summary
ConstructorsModifierConstructorDescription(package private)
Empty constructor needed for Instruction.readInstruction.protected
StackInstruction
(short opcode) -
Method Summary
Methods inherited from class org.apache.bcel.generic.Instruction
accept, consumeStack, copy, dispose, dump, equals, getComparator, getLength, getName, getOpcode, hashCode, initFromFile, isValidByte, isValidShort, produceStack, readInstruction, setComparator, setLength, setOpcode, toString, toString, toString
-
Constructor Details
-
StackInstruction
StackInstruction()Empty constructor needed for Instruction.readInstruction. Not to be used otherwise. -
StackInstruction
protected StackInstruction(short opcode) - Parameters:
opcode
- instruction opcode
-
-
Method Details
-
getType
- Returns:
- Type.UNKNOWN
-