public static JsonSchemaLookup getSingleton() { if (singleton == null) { // lazy create one new JsonSchemaLookup().init(); } return singleton; }
for (Class<?> cls : resourceTypes) { if (cls.getName().endsWith(clsName) && JsonSchemaLookup.getSingleton().getSchemaForClass(cls).length() > 0) { ret = ret + getIndention(2) + "\"" + cls.getName() + "\" : " + getEol(); + reformatIndent(JsonSchemaLookup.getSingleton().getSchemaForClass(cls), 3); ret = ret + getEol(); + reformatIndent(JsonSchemaLookup.getSingleton() .getSchemaForClass(partClass), 3); + reformatIndent(JsonSchemaLookup.getSingleton() .getSchemaForClass(partClass), 3);
for (Class<?> cls : resourceTypes) { if (cls.getName().endsWith(clsName) && JsonSchemaLookup.getSingleton().getSchemaForClass(cls).length() > 0) { ret = ret + getIndention(2) + "\"" + cls.getName() + "\" : " + getEol(); + reformatIndent(JsonSchemaLookup.getSingleton().getSchemaForClass(cls), 3); ret = ret + getEol(); + reformatIndent(JsonSchemaLookup.getSingleton() .getSchemaForClass(partClass), 3); + reformatIndent(JsonSchemaLookup.getSingleton() .getSchemaForClass(partClass), 3);
+ getEol(); for (Class<?> cls : resourceTypes) { if (JsonSchemaLookup.getSingleton() .getSchemaForClass(cls).length() > 0) { ret = ret + getIndention(2) + "\"" + cls.getName() + "\" : " + getEol(); + rollbackEol(reformatIndent(JsonSchemaLookup.getSingleton() .getSchemaForClass(cls), 3)) + "," + getEol(); if (partClass != null) { ret = ret + rollbackEol(reformatIndent(JsonSchemaLookup.getSingleton() .getSchemaForClass(partClass), 3)) + "," + getEol(); if (partClass != null) { ret = ret + rollbackEol(reformatIndent(JsonSchemaLookup.getSingleton() .getSchemaForClass(partClass), 3)) + "," + getEol();
public static JsonSchemaLookup getSingleton() { if (singleton == null) { // lazy create one new JsonSchemaLookup().init(); } return singleton; }
+ getEol(); for (Class<?> cls : resourceTypes) { if (JsonSchemaLookup.getSingleton() .getSchemaForClass(cls).length() > 0) { ret = ret + getIndention(2) + "\"" + cls.getName() + "\" : " + getEol(); + rollbackEol(reformatIndent(JsonSchemaLookup.getSingleton() .getSchemaForClass(cls), 3)) + "," + getEol(); if (partClass != null) { ret = ret + rollbackEol(reformatIndent(JsonSchemaLookup.getSingleton() .getSchemaForClass(partClass), 3)) + "," + getEol(); if (partClass != null) { ret = ret + rollbackEol(reformatIndent(JsonSchemaLookup.getSingleton() .getSchemaForClass(partClass), 3)) + "," + getEol();
if (partClass != null) { ret = ret + rollbackEol(reformatIndent(JsonSchemaLookup.getSingleton() .getSchemaForClass(partClass), 3)) + "," + getEol(); if (partClass != null) { ret = ret + rollbackEol(reformatIndent(JsonSchemaLookup.getSingleton() .getSchemaForClass(partClass), 3)) + "," + getEol();
if (partClass != null) { ret = ret + rollbackEol(reformatIndent(JsonSchemaLookup.getSingleton() .getSchemaForClass(partClass), 3)) + "," + getEol(); if (partClass != null) { ret = ret + rollbackEol(reformatIndent(JsonSchemaLookup.getSingleton() .getSchemaForClass(partClass), 3)) + "," + getEol();