[Nice-commit] Nice/src/bossa/syntax javaMethod.nice,1.2,1.3
Brought to you by:
bonniot
From: Arjan B. <ar...@us...> - 2004-12-24 12:06:19
|
Update of /cvsroot/nice/Nice/src/bossa/syntax In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14625/F:/nice/src/bossa/syntax Modified Files: javaMethod.nice Log Message: Use public accessor method instead of non public field. Index: javaMethod.nice =================================================================== RCS file: /cvsroot/nice/Nice/src/bossa/syntax/javaMethod.nice,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** javaMethod.nice 20 Dec 2004 16:05:18 -0000 1.2 --- javaMethod.nice 24 Dec 2004 12:06:10 -0000 1.3 *************** *** 143,147 **** // search methods for (?gnu.bytecode.Method method = declaringClass.getMethods(); ! method != null; method = method.next) { if (!method.getName().equals(funName)) --- 143,147 ---- // search methods for (?gnu.bytecode.Method method = declaringClass.getMethods(); ! method != null; method = method.getNext()) { if (!method.getName().equals(funName)) *************** *** 211,219 **** classType.addMethods(); ! for (?gnu.bytecode.Field f = classType.getFields(); f != null; f = f.next) if (retyped.get(f) == null) addJavaSymbol(f, makeJavaFieldAccess(f)); ! for (?gnu.bytecode.Method m = classType.getMethods(); m != null; m = m.next) { // Ignore the method if it is explicitely retyped --- 211,219 ---- classType.addMethods(); ! for (?gnu.bytecode.Field f = classType.getFields(); f != null; f = f.getNext()) if (retyped.get(f) == null) addJavaSymbol(f, makeJavaFieldAccess(f)); ! for (?gnu.bytecode.Method m = classType.getMethods(); m != null; m = m.getNext()) { // Ignore the method if it is explicitely retyped |