}
private static void addDomainClass(final JsonArray array, final DomainClass domainClass) {
final JsonObject object = new JsonObject();
object.addProperty("className", domainClass.getFullName());
final DomainEntity superclass = domainClass.getSuperclass();
if (superclass != null) {
object.addProperty("superclassName", superclass.getFullName());
}
final JsonArray interfaces = new JsonArray();
for (final Object oi : domainClass.getInterfacesNames()) {
interfaces.add(new JsonPrimitive(oi.toString()));