public static EventLogBuildType @NotNull [] getTypesByString(@Nullable String type) {
    if (isNotEmpty(type)) {
      String unifiedType = StatisticsStringUtil.toLowerCase(type);
      if (ALL.equals(unifiedType)) {
        return values();
      }

      for (EventLogBuildType value : values()) {
        if (unifiedType.equals(value.text)) {
          return new EventLogBuildType[]{value};
        }
      }
    }
    return new EventLogBuildType[]{};
  }
public static EventLogBuildType @NotNull [] getTypesByString(@Nullable String type)