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

public abstract Class ReturnInstruction

extends Instruction
implements ExceptionThrower, TypedInstruction, StackConsumer
Class Inheritance
All Implemented Interfaces
com.sun.org.apache.bcel.internal.generic.StackConsumer, com.sun.org.apache.bcel.internal.generic.TypedInstruction, com.sun.org.apache.bcel.internal.generic.ExceptionThrower
Known Direct Subclasses
com.sun.org.apache.bcel.internal.generic.ARETURN, com.sun.org.apache.bcel.internal.generic.DRETURN, com.sun.org.apache.bcel.internal.generic.FRETURN, com.sun.org.apache.bcel.internal.generic.IRETURN, com.sun.org.apache.bcel.internal.generic.LRETURN, com.sun.org.apache.bcel.internal.generic.RETURN
Imports
com.sun.org.apache.bcel.internal.Const, .ExceptionConst

Super class for the xRETURN family of instructions.

Field Summary

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

Constructor Summary

AccessConstructor and Description
pack-priv
ReturnInstruction()

Empty constructor needed for Instruction.readInstruction.

protected
ReturnInstruction(final short
of instruction
opcode
)

Method Summary

Modifier and TypeMethod and Description
public Class<?>[]
public Type
public Type
getType(final ConstantPoolGen cp)

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

Returns: type associated with the instruction

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

Constructor Detail

ReturnInstructionback to summary
pack-priv ReturnInstruction()

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

ReturnInstructionback to summary
protected ReturnInstruction(final short opcode)
Parameters
opcode:short

of instruction

Method Detail

getExceptionsback to summary
public Class<?>[] getExceptions()

Implements com.sun.org.apache.bcel.internal.generic.ExceptionThrower.getExceptions.

Annotations
@Override
getTypeback to summary
public Type getType()
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