JDefinedClass (String nodeName, JsonNode node, JPackage _package, boolean isAbstract) { final JDefinedClass result; try { result = _package._class(isAbstract ? JMod.PUBLIC | JMod.ABSTRACT : JMod.PUBLIC, ruleFactory.getNameHelper().getUniqueClassName(nodeName, node, _package)); } catch (JClassAlreadyExistsException e) { ruleFactory.getLogger().error(e.getMessage()); throw new RuntimeException(e); } return result; }