@Deprecated
  public @NotNull Collection<File> getGrammarFiles() {
    switch (myType) {
      case TEXTMATE -> {
        return getFilesInBundle("Syntaxes", SYNTAX_FILES_FILTER);
      }
      case SUBLIME -> {
        return getFilesInBundle("", SYNTAX_FILES_FILTER);
      }
    }
    throw new IllegalArgumentException("Only textmate and sublime bundles are supported. Use TextMateBundleReader instead.");
  }
@Deprecated
  public @NotNull Collection<File> getGrammarFiles()