1
2==== Two-way read-write instance field ====
3obj1.publicInt = 13: 13
4bean.publicInt: 13
5bean.publicInt = 15: 15
6obj1.publicInt: 15
7
8==== Read only public instance field ====
9obj1.publicFinalInt: 42
10obj1.publicFinalInt = 16: 16
11obj1.publicFinalInt: 42
12bean.publicFinalInt: 42
13
14==== Two-way read-write instance property ====
15obj1.readWrite = 17: 17
16bean.readWrite: 17
17bean.readWrite = 18: 18
18obj1.readWrite: 18
19obj1.getReadWrite(): 18
20obj1.setReadWrite(19): undefined
21obj1.readWrite: 19
22bean.readWrite: 19
23
24==== Read only instance property ====
25obj1.readOnly: 123
26obj1.readOnly = 20: 20
27obj1.readOnly: 123
28obj1.getReadOnly(): 123
29bean.getReadOnly(): 123
30
31==== Write only instance property ====
32obj1.writeOnly = 21: 21
33obj1.writeOnly: undefined
34bean.writeOnly: undefined
35bean.peekWriteOnly(): 21
36
37==== Two-way read-write public static field ====
38obj2.publicStaticInt = 22: 22
39PropertyBind.publicStaticInt: 22
40PropertyBind.publicStaticInt = 23: 23
41obj2.publicStaticInt: 23
42
43==== Read only public static field ====
44obj2.publicStaticFinalInt: 2112
45obj2.publicStaticFinalInt = 24: 24
46obj2.publicStaticFinalInt: 2112
47PropertyBind.publicStaticFinalInt: 2112
48
49==== Two-way read-write static property ====
50obj2.staticReadWrite = 25: 25
51PropertyBind.staticReadWrite: 25
52PropertyBind.staticReadWrite = 26: 26
53obj2.staticReadWrite: 26
54obj2.getStaticReadWrite(): 26
55obj2.setStaticReadWrite(27): undefined
56obj2.staticReadWrite: 27
57PropertyBind.staticReadWrite: 27
58
59==== Read only static property ====
60obj2.staticReadOnly: 1230
61obj2.staticReadOnly = 28: 28
62obj2.staticReadOnly: 1230
63obj2.getStaticReadOnly(): 1230
64PropertyBind.getStaticReadOnly(): 1230
65
66==== Write only static property ====
67obj2.staticWriteOnly = 29: 29
68obj2.staticWriteOnly: undefined
69PropertyBind.staticWriteOnly: undefined
70PropertyBind.peekStaticWriteOnly(): 29
71
72==== Sanity check to ensure property values remained what they were ====
73obj1.publicInt: 15
74bean.publicInt: 15
75obj1.publicFinalInt: 42
76bean.publicFinalInt: 42
77obj1.readWrite: 19
78bean.readWrite: 19
79obj1.readOnly: 123
80bean.readOnly: 123
81bean.peekWriteOnly(): 21
82obj2.publicStaticInt: 23
83PropertyBind.publicStaticInt: 23
84obj2.publicStaticFinalInt: 2112
85PropertyBind.publicStaticFinalInt: 2112
86obj2.staticReadWrite: 27
87PropertyBind.staticReadWrite: 27
88obj2.staticReadOnly: 1230
89PropertyBind.staticReadOnly: 1230
90PropertyBind.peekStaticWriteOnly(): 29
91