private boolean isInCycle(Module module) {
    Boolean inCycle = myCycleMap.get(module);
    if (inCycle == null) {
      Set<List<Module>> cycles = GraphAlgorithms.getInstance().findCycles(myModuleGraph, module);
      inCycle = !cycles.isEmpty();
      myCycleMap.put(module, inCycle);
      for (List<Module> cycle : cycles) {
        for (Module moduleInCycle : cycle) {
          myCycleMap.put(moduleInCycle, true);
        }
      }
    }
    return inCycle;
  }
private boolean isInCycle(Module module)