@Override
void writeHelperMethodsJava(ClassScope classScope) {
classScope.startLine("public static boolean checkSubtypeConditions(" +
"org.json.simple.JSONObject input)" + Util.THROWS_CLAUSE + " {\n");
MethodScope methodScope = classScope.newMethodScope();
methodScope.indentRight();
for (FieldCondition condition : fieldConditions) {
String name = condition.getPropertyName();
methodScope.startLine("{\n");
methodScope.startLine(" Object value = input.get(\"" + name + "\");\n");
methodScope.startLine(" boolean hasValue;\n");