code array of a
Code attribute. Corresponding opcodes have a kind of
Opcode.Kind#STORE . Delivered as a CodeElement when
traversing the elements of a CodeModel.
A local variable store instruction is composite:
StoreInstruction( TypeKind typeKind, int slot )
TypeKind is computational, and slot is u2.
astore series of instructions, or reference type store
instructions, can also operate on the returnAddress type from discontinued jump subroutine instructions.
Opcode.Kind#STORE , CodeBuilder::storeLocal
| Modifier and Type | Method and Description |
|---|---|
| public static StoreInstruction | |
| public static StoreInstruction | Returns: a local variable store instructionthe opcode for the specific type of store instruction,
which must be of kind op, int Opcode.the local variable slot to store to slot)Returns a local variable store instruction. |
| public int | |
| public TypeKind | Returns: the computational type of the value to be storedReturns the computational type of the value to be stored. |
| of | back to summary |
|---|---|
| public static StoreInstruction of(TypeKind kind, int slot) Returns a local variable store instruction.
| |
| of | back to summary |
|---|---|
| public static StoreInstruction of(Opcode op, int slot) Returns a local variable store instruction.
The range of
API Note The explicit
| |
| slot | back to summary |
|---|---|
| public int slot() Returns the local variable slot to store to.
It is a
| |
| typeKind | back to summary |
|---|---|
| public TypeKind typeKind() Returns the computational type
of the value to be stored. The
| |