Package org.apache.bcel.generic
Class ConversionInstruction
java.lang.Object
org.apache.bcel.generic.Instruction
org.apache.bcel.generic.ConversionInstruction
- All Implemented Interfaces:
Cloneable,StackConsumer,StackProducer,TypedInstruction
public abstract class ConversionInstruction
extends Instruction
implements TypedInstruction, StackProducer, StackConsumer
Super class for the x2y family of instructions.
-
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.protectedConversionInstruction(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, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.bcel.generic.StackConsumer
consumeStackMethods inherited from interface org.apache.bcel.generic.StackProducer
produceStack
-
Constructor Details
-
ConversionInstruction
ConversionInstruction()Empty constructor needed for Instruction.readInstruction. Not to be used otherwise. -
ConversionInstruction
protected ConversionInstruction(short opcode) - Parameters:
opcode- opcode of instruction
-
-
Method Details
-
getType
- Specified by:
getTypein interfaceTypedInstruction- Returns:
- type associated with the instruction
-