[Nice-commit] Nice/src/bossa/syntax RetypedJavaMethod.java,1.15,1.16
Brought to you by:
bonniot
From: <bo...@us...> - 2004-03-15 12:15:12
|
Update of /cvsroot/nice/Nice/src/bossa/syntax In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18417/src/bossa/syntax Modified Files: RetypedJavaMethod.java Log Message: Typos. Index: RetypedJavaMethod.java =================================================================== RCS file: /cvsroot/nice/Nice/src/bossa/syntax/RetypedJavaMethod.java,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -d -r1.15 -r1.16 *** RetypedJavaMethod.java 26 Feb 2004 12:57:24 -0000 1.15 --- RetypedJavaMethod.java 15 Mar 2004 12:06:02 -0000 1.16 *************** *** 66,70 **** // We put this here, since we need 'module' to be computed // since it is used to open the imported packages. ! findReflectMethod(); super.buildScope(outer, typeOuter); --- 66,70 ---- // We put this here, since we need 'module' to be computed // since it is used to open the imported packages. ! findReflectMethod(); super.buildScope(outer, typeOuter); *************** *** 100,104 **** private Type[] javaArgType; ! public gnu.bytecode.Type javaReturnType() { return javaRetType; } --- 100,104 ---- private Type[] javaArgType; ! public gnu.bytecode.Type javaReturnType() { return javaRetType; } *************** *** 167,174 **** { if (methodName.equals("<init>")) ! setIgnoredRetyping(className, "Ignored retyping because class " + holder.getName() + " has no constructor with " + javaArgType.length + " arguments"); ! else setIgnoredRetyping(className, "Ignored retyping because no method named " + methodName + " with " + javaArgType.length + --- 167,174 ---- { if (methodName.equals("<init>")) ! setIgnoredRetyping(className, "Ignored retyping because class " + holder.getName() + " has no constructor with " + javaArgType.length + " arguments"); ! else setIgnoredRetyping(className, "Ignored retyping because no method named " + methodName + " with " + javaArgType.length + *************** *** 178,182 **** } ! setIgnoredRetyping(className, "Ignored retyping because The types of the arguments don't match the declaration:\n" + reflectMethod); --- 178,182 ---- } ! setIgnoredRetyping(className, "Ignored retyping because the types of the arguments don't match the declaration:\n" + reflectMethod); *************** *** 200,205 **** } else ! JavaClasses.registerNativeMethod(this, reflectMethod); ! int javaArity; if(reflectMethod.getStaticFlag() || reflectMethod.isConstructor()) --- 200,205 ---- } else ! JavaClasses.registerNativeMethod(this, reflectMethod); ! int javaArity; if(reflectMethod.getStaticFlag() || reflectMethod.isConstructor()) *************** *** 207,211 **** else javaArity = javaTypes.size(); ! if(javaTypes != null && javaArity != arity) User.error(this, --- 207,211 ---- else javaArity = javaTypes.size(); ! if(javaTypes != null && javaArity != arity) User.error(this, |