[Nice-commit] Nice/src/gnu/bytecode Method.java,1.7,1.8
Brought to you by:
bonniot
From: <bo...@us...> - 2004-02-24 14:12:43
|
Update of /cvsroot/nice/Nice/src/gnu/bytecode In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20234/src/gnu/bytecode Modified Files: Method.java Log Message: Check that imported Java methods do not have missing implementations. Be more clever about what Java methods not to test, to save time. Index: Method.java =================================================================== RCS file: /cvsroot/nice/Nice/src/gnu/bytecode/Method.java,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** Method.java 3 Nov 2003 18:32:07 -0000 1.7 --- Method.java 24 Feb 2004 14:05:47 -0000 1.8 *************** *** 94,97 **** --- 94,103 ---- } + /** Return the number of arguments of this method. */ + public int getArity() + { + return arg_types.length; + } + public final void setStaticFlag (boolean is_static) { if (is_static) |