@Override
  public void visitStatement(@NotNull PsiStatement statement) {
    super.visitStatement(statement);
    if (!previousWasGuardClause) {
      return;
    }
    if (statement instanceof PsiDeclarationStatement) {
      return;
    }
    final PsiElement parent = statement.getParent();
    if (!(parent instanceof PsiCodeBlock)) {
      return;
    }
    final PsiElement grandParent = parent.getParent();
    if (!(grandParent instanceof PsiMethod)) {
      return;
    }
    previousWasGuardClause = isGuardClause(statement);
  }
@Override
  public void visitStatement(@NotNull PsiStatement statement)