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@67 | 1 | public class ArrayTest { |
paul@67 | 2 | public int[] array; |
paul@67 | 3 | |
paul@67 | 4 | public ArrayTest(int size) { |
paul@67 | 5 | array = new int[size]; |
paul@67 | 6 | } |
paul@67 | 7 | |
paul@67 | 8 | public int get(int index) { |
paul@67 | 9 | return array[index]; |
paul@67 | 10 | } |
paul@67 | 11 | } |