code: @Override
      public void visitClassContext(ClassContext classContext) {
          try {
              ifStatements = new HashSet<>();
              super.visitClassContext(classContext);
          } finally {
              ifStatements = null;
          }
      }
docs: implements the visitor to allocate and clear the ifStatements set
  
  @param classContext
  the context object of the currently parsed class