getfield


Description: get value out of a object's field
field is the path to the class with /'s followed by the class name
kind is the type: I, F, Ljava/lang/String, etc.

Stack

Before After
object value

Example

Java---------------------

Float o = thing.aspect

Jasm-------------------

aload 1      ; load thing from local var 1
getfield thing/aspect F      ;get the value, a float

Exceptions

NullPointerException if object is null

Back to
Opcodes indexed by function.
Opcodes indexed by number.


back to opcode reference.