Bytecode
Type | Description |
u1 | getstatic_quick opcode = 0xD2 (210) |
u2 | index |
The unsigned index is used to access to field entry, a reference to a class name
and a field name. If the field is protected
, then it must be either a member
of the current class or a member of a superclass of the current class.
The item is resolved, determining both the class field and its width. The value of the class field is fetched and pushed onto the operand stack.
Notes
The opcode of this instruction was originally getstatic, operating on a static
field determined dynamically to be one word wide. The operands of the getstatic
instruction are not modified. There is no equivalent to the getfield_quick
instruction, storing a class offset as an instruction operand, for one-word static
fields.