return klass.getDeclaredMethod(name, args);
final Method m = klass.getDeclaredMethod(name, args); AccessController.doPrivileged(new PrivilegedAction() { public Object run() { m.setAccessible(true); return null; } }); return m;
  private static Method getMethod (Class klass, String name, Class[] args)    throws java.lang.NoSuchMethodException  {    return klass.getDeclaredMethod(name, args);  }