private JDefinedClass createInterface(String nodeName, JsonNode node, JPackage _package) throws ClassAlreadyExistsException {
    JDefinedClass newType;

    Annotator annotator = ruleFactory.getAnnotator();

    try {
      newType = _package._class(JMod.PUBLIC, ruleFactory.getNameHelper().getUniqueClassName(nodeName, node, _package), ClassType.INTERFACE);
    }
    catch (JClassAlreadyExistsException e) {
      throw new ClassAlreadyExistsException(e.getExistingClass());
    }
    annotator.typeInfo(newType, node);
    annotator.propertyInclusion(newType, node);
    return newType;
  }
private JDefinedClass createInterface(String nodeName, JsonNode node, JPackage _package)