Package org.apache.bcel.generic
Class StackInstruction
- java.lang.Object
-
- org.apache.bcel.generic.Instruction
-
- org.apache.bcel.generic.StackInstruction
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Cloneable
public abstract class StackInstruction extends Instruction
Super class for stack operations like DUP and POP.- Version:
- $Id: StackInstruction.java 386056 2006-03-15 11:31:56Z tcurdt $
- Author:
- M. Dahm
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.apache.bcel.generic.Instruction
length, opcode
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
StackInstruction(short opcode)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Type
getType(ConstantPoolGen cp)
-
Methods inherited from class org.apache.bcel.generic.Instruction
accept, consumeStack, copy, dump, equals, getComparator, getLength, getName, getOpcode, initFromFile, produceStack, readInstruction, setComparator, toString, toString, toString
-
-
-
-
Method Detail
-
getType
public Type getType(ConstantPoolGen cp)
- Returns:
- Type.UNKNOWN
-
-