@Override
    public void visitOpenBlock(@NotNull GrOpenBlock block) {
      super.visitOpenBlock(block);
      GrStatement[] statements = block.getStatements();
      for (int i = 0; i < statements.length - 1; i++) {
        checkPair(statements[i], statements[i+1]);
      }
    }
@Override
    public void visitOpenBlock(@NotNull GrOpenBlock block)