docs: @Override
      public void visitMethod(Method obj) {
          if (sawDateClass) {
              try {
                  super.visitMethod(obj);
                  currentMethod = obj;
                  currentLockDataFlow = getClassContext().getLockDataflow(currentMethod);
                  currentCFG = getClassContext().getCFG(currentMethod);
              } catch (CFGBuilderException e) {
                  reporter.logError("Synchronization check in Static Calendar Detector caught an error.", e);
              } catch (DataflowAnalysisException e) {
                  reporter.logError("Synchronization check in Static Calendar Detector caught an error.", e);
              }
          }
      }