clean up Field.get() and Field.set() implementations

This commit is contained in:
Joel Dice
2007-08-18 11:15:03 -06:00
parent 3625a02910
commit d169e4eadf
5 changed files with 296 additions and 170 deletions

View File

@ -27,6 +27,10 @@ public final class Class <T> {
return new String(name, 0, name.length - 1, false);
}
public Object[] staticTable() {
return staticTable;
}
public static Class forName(String name) throws ClassNotFoundException {
return forName
(name, true, Method.getCaller().getDeclaringClass().getClassLoader());