(String name)
| 202 | } |
| 203 | |
| 204 | public Field getField(String name) throws NoSuchFieldException { |
| 205 | for (VMClass c = vmClass; c != null; c = c.super_) { |
| 206 | int index = Classes.findField(c, name); |
| 207 | if (index >= 0) { |
| 208 | return new Field(vmClass.fieldTable[index]); |
| 209 | } |
| 210 | } |
| 211 | throw new NoSuchFieldException(name); |
| 212 | } |
| 213 | |
| 214 | public Method getDeclaredMethod(String name, Class ... parameterTypes) |
| 215 | throws NoSuchMethodException |