public static @NotNull @NlsContexts.Label String getKindName(int value) {
    return switch (value) {
      case ALL_IN_PACKAGE -> JUnitBundle.message("junit.configuration.kind.all.in.package");
      case DIR -> JUnitBundle.message("junit.configuration.kind.all.in.directory");
      case PATTERN -> JUnitBundle.message("junit.configuration.kind.by.pattern");
      case CLASS -> JUnitBundle.message("junit.configuration.kind.class");
      case METHOD -> JUnitBundle.message("junit.configuration.kind.method");
      case CATEGORY -> JUnitBundle.message("junit.configuration.kind.category");
      case UNIQUE_ID -> JUnitBundle.message("junit.configuration.kind.by.unique.id");
      case TAGS -> JUnitBundle.message("junit.configuration.kind.by.tags");
      case BY_SOURCE_POSITION -> "Through source location"; //NON-NLS internal option
      case BY_SOURCE_CHANGES -> "Over changes in sources"; //NON-NLS internal option
      default -> throw new IllegalArgumentException(String.valueOf(value));
    };
  }
public static @NotNull @NlsContexts.Label String getKindName(int value)