method.setAccessible(true);
return method.invoke(x, params);
} catch (SecurityException e) {
cc.report(MessageType.EXCEPTION, "SecurityException for " + x + " (method was " + string + ")");
} catch (NoSuchMethodException e) {
cc.report(MessageType.EXCEPTION, "NoSuchMethodException for " + x + " (method was " + string + ")");
} catch (IllegalArgumentException e) {
cc.report(MessageType.EXCEPTION, "IllegalArgumentException for " + x + " (method was " + string + ")");
} catch (IllegalAccessException e) {
cc.report(MessageType.EXCEPTION, "IllegalAccessException for " + x + " (method was " + string + ")");
} catch (InvocationTargetException e) {