code array of a
Code attribute. Corresponding opcodes have a kind of
Opcode.Kind#RETURN . Delivered as a CodeElement when
traversing the elements of a CodeModel.
A return-from-method instruction is composite:
ReturnInstruction(TypeKind typeKind)
typeKind is computational or void.
Opcode.Kind#RETURN , CodeBuilder::return_
| Modifier and Type | Method and Description |
|---|---|
| public static ReturnInstruction | |
| public static ReturnInstruction | Returns: a return instructionthe opcode for the specific type of return instruction,
which must be of kind op)Opcode.Returns a return instruction. |
| public TypeKind |
| of | back to summary |
|---|---|
| public static ReturnInstruction of(TypeKind typeKind) Returns a return instruction.
| |
| of | back to summary |
|---|---|
| public static ReturnInstruction of(Opcode op) Returns a return instruction.
| |
| typeKind | back to summary |
|---|---|
| public TypeKind typeKind() Returns the computational type, including
| |