private static boolean isAbruptStatement(@NotNull PsiElement element) {
    return element instanceof PsiReturnStatement || element instanceof PsiYieldStatement || element instanceof PsiThrowStatement;
  }
private static boolean isAbruptStatement(@NotNull PsiElement element)