Top Description Fields Constructors Methods
com.sun.org.apache.bcel.internal.generic

public abstract Class ConversionInstruction

extends Instruction
implements TypedInstruction, StackProducer, StackConsumer
Class Inheritance
All Implemented Interfaces
com.sun.org.apache.bcel.internal.generic.StackConsumer, com.sun.org.apache.bcel.internal.generic.StackProducer, com.sun.org.apache.bcel.internal.generic.TypedInstruction
Known Direct Subclasses
com.sun.org.apache.bcel.internal.generic.I2B, com.sun.org.apache.bcel.internal.generic.I2C, com.sun.org.apache.bcel.internal.generic.I2D, com.sun.org.apache.bcel.internal.generic.I2F, com.sun.org.apache.bcel.internal.generic.I2L, com.sun.org.apache.bcel.internal.generic.I2S, com.sun.org.apache.bcel.internal.generic.L2D, com.sun.org.apache.bcel.internal.generic.L2F, com.sun.org.apache.bcel.internal.generic.L2I, com.sun.org.apache.bcel.internal.generic.D2F, com.sun.org.apache.bcel.internal.generic.D2I, com.sun.org.apache.bcel.internal.generic.D2L, com.sun.org.apache.bcel.internal.generic.F2D, com.sun.org.apache.bcel.internal.generic.F2I, com.sun.org.apache.bcel.internal.generic.F2L
Imports
com.sun.org.apache.bcel.internal.Const

Super class for the x2y family of instructions.

Field Summary

Inherited from com.sun.org.apache.bcel.internal.generic.Instruction:
EMPTY_ARRAYlengthopcode

Constructor Summary

AccessConstructor and Description
pack-priv
ConversionInstruction()

Empty constructor needed for Instruction.readInstruction.

protected
ConversionInstruction(final short
opcode of instruction
opcode
)

Method Summary

Modifier and TypeMethod and Description
public Type

Returns:

type associated with the instruction
getType
(final ConstantPoolGen cp)

Implements com.sun.org.apache.bcel.internal.generic.TypedInstruction.getType.

Inherited from com.sun.org.apache.bcel.internal.generic.Instruction:
acceptconsumeStackcopydisposedumpequalsgetComparatorgetLengthgetNamegetOpcodehashCodeinitFromFileisValidByteisValidShortproduceStackreadInstructionsetComparatorsetLengthsetOpcodetoStringtoStringtoString

Constructor Detail

ConversionInstructionback to summary
pack-priv ConversionInstruction()

Empty constructor needed for Instruction.readInstruction. Not to be used otherwise.

ConversionInstructionback to summary
protected ConversionInstruction(final short opcode)
Parameters
opcode:short

opcode of instruction

Method Detail

getTypeback to summary
public Type getType(final ConstantPoolGen cp)

Implements com.sun.org.apache.bcel.internal.generic.TypedInstruction.getType.

Returns:Type

type associated with the instruction

Annotations
@Override