See it the same way, was already discussed in Advanced Class Cycle Detection for Java - Sonar Updates - Sonar Community