June 2018
Intermediate to advanced
316 pages
6h 34m
English
A backing field provides access to a field of a property. The setter method for the text property compiles to the following bytecode:
public final setText(Ljava/lang/String;)V@Lorg/jetbrains/annotations/NotNull;() // invisible, parameter 0L0ALOAD 1LDC "value"INVOKESTATIC kotlin/jvm/internal/Intrinsics.checkParameterIsNotNull (Ljava/lang/Object;Ljava/lang/String;)VL1LINENUMBER 89 L1L2GETSTATIC java/lang/System.out : Ljava/io/PrintStream;ALOAD 1INVOKEVIRTUAL java/io/PrintStream.println (Ljava/lang/Object;)VL3L4LINENUMBER 90 L4ALOAD 0ALOAD 1PUTFIELD Button.text : Ljava/lang/String;L5LINENUMBER 91 L5RETURNL6LOCALVARIABLE this LButton; L0 L6 0LOCALVARIABLE value Ljava/lang/String; L0 L6 1MAXSTACK = 2MAXLOCALS = 2
In the preceding ...
Read now
Unlock full access