2005-01-09 | Paul Boddie | file changeset files shortlog | 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. |
paul@75 | 1 | public class StringTest { |
paul@75 | 2 | private String s; |
paul@75 | 3 | private String s2 = new String("abc"); |
paul@75 | 4 | private static String s3; |
paul@75 | 5 | private static String s4 = new String("xyz"); |
paul@75 | 6 | |
paul@75 | 7 | public StringTest() { |
paul@75 | 8 | s = s2; |
paul@75 | 9 | } |
paul@75 | 10 | |
paul@75 | 11 | public StringTest(String newString) { |
paul@75 | 12 | s = newString; |
paul@75 | 13 | } |
paul@75 | 14 | } |