private static @NotNull List<String> getHardcodedExceptions(@NotNull Set<@NotNull PsiType> existedExceptions) {
    ArrayList<String> exceptions = new ArrayList<>();
    for (String defaultException : DEFAULT_EXCEPTIONS) {
      if (ContainerUtil.exists(existedExceptions, t -> defaultException.equals(t.getCanonicalText()))) {
        break;
      }
      exceptions.add(defaultException);
    }
    Collections.reverse(exceptions);
    return exceptions;
  }
private static @NotNull List<String> getHardcodedExceptions(@NotNull Set<@NotNull PsiType> existedExceptions)