}
public T invokeStatic(Object[] args) throws Exception {
if (Modifier.isStatic(method.getModifiers()) == false) {
String methodDesc = method.getName() + "(" + Arrays.toString(method.getParameterTypes()) + ")";
throw new NoSuchMethodRuntimeException("No such static method: " + methodDesc + " in class["
+ this.targetClaz + "]");
} else {
return (T) invoke(null, args);
}
}