fix and clarify "Cyclic class dependency" inspection warning