2005-01-09 | Paul Boddie | raw annotate files changeset graph | Added a method to provide the "unqualified Python name" of methods. This is useful when generating wrappers of existing Python classes where the additional type information usually included in "Python names" is not present in the wrapped method names. |
1 public class FieldTest { 2 private int a; 3 protected int b = 123; 4 protected FieldTestClass c; 5 protected FieldTestClass d = null; 6 public FieldTestClass e = new FieldTestClass(456); 7 public FieldTestClass f = new FieldTestClass(b + e.a); 8 public static FieldTestClass g; 9 public static FieldTestClass h = new FieldTestClass(789); 10 } 11 12 class FieldTestClass { 13 public int a; 14 15 public FieldTestClass(int a) { 16 this.a = a; 17 } 18 }