try {
Method theMethod = theClass.getMethod(methodName, new Class[0]);
if (!Modifier.isStatic(theMethod.getModifiers())) {
HeaderPrintWriter hpw = useDefaultStream(header);
hpw.printlnWithHeader(theMethod.toString() + " is not static");
return hpw;
}
try {
return makeValueHPW(theMethod, theMethod.invoke((Object) null,