@Override
    public void visitBreakStatement(@NotNull GrBreakStatement breakStatement) {

      super.visitBreakStatement(breakStatement);
      final GrStatement target = breakStatement.findTargetStatement();
      if (target instanceof GrSwitchStatement) {
        return;
      }
      registerError(breakStatement);
    }
@Override
    public void visitBreakStatement(@NotNull GrBreakStatement breakStatement)