2004-11-21 | Paul Boddie | file changeset files shortlog | Removed the descriptor parsing mix-in class, making the methods global functions. Added support for array-based Python names, since ClassInfo names can appear as, for example, "[Ljava.lang.String;". |
paul@54 | 1 | public class FieldTest { |
paul@54 | 2 | private int a; |
paul@54 | 3 | protected int b = 123; |
paul@54 | 4 | protected FieldTestClass c; |
paul@54 | 5 | protected FieldTestClass d = null; |
paul@54 | 6 | public FieldTestClass e = new FieldTestClass(456); |
paul@57 | 7 | public FieldTestClass f = new FieldTestClass(b + e.a); |
paul@57 | 8 | public static FieldTestClass g; |
paul@57 | 9 | public static FieldTestClass h = new FieldTestClass(789); |
paul@54 | 10 | } |
paul@54 | 11 | |
paul@54 | 12 | class FieldTestClass { |
paul@54 | 13 | public int a; |
paul@54 | 14 | |
paul@54 | 15 | public FieldTestClass(int a) { |
paul@54 | 16 | this.a = a; |
paul@54 | 17 | } |
paul@54 | 18 | } |