try {
final Field field = x.getClass().getDeclaredField(call);
field.setAccessible(true);
return field.get(x);
} catch (SecurityException e) {
cc.report(MessageType.EXCEPTION, "SecurityException 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 (NoSuchFieldException e) {