private static void removeAdditionalProperties(JDefinedClass jClass) {
    JFieldVar var = jClass.fields().get("additionalProperties");
    if (var != null) {
      jClass.removeField(var);
      jClass.methods().removeIf(m -> m.name().equals("getAdditionalProperties") || m.name().equals("setAdditionalProperty"));
    }
  }
private static void removeAdditionalProperties(JDefinedClass jClass)