@NotNull
  CharSequence createModuleText() {
    CharSequence requires = requiresText();
    CharSequence exports = exportsText();

    return new StringBuilder().append(PsiKeyword.MODULE).append(" ").append(node().getName()).append(" {\n")
      .append(requires)
      .append((!requires.isEmpty() && !exports.isEmpty()) ? "\n" : "")
      .append(exports)
      .append("}");
  }
@NotNull
  CharSequence createModuleText()