# Advanced Class Cycle Detection for Java

**URL:** <https://community.sonarsource.com/t/advanced-class-cycle-detection-for-java/127500>\
**Category:** Sonar Updates\
**Tags:** design, java, architecture\
**Created:** [October 7, 2024, 7:38am UTC](https://community.sonarsource.com/t/advanced-class-cycle-detection-for-java/127500 "2024-10-07T07:38:08Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![SlavikZ](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/slavikz/32/19417_2.png) [@SlavikZ](https://community.sonarsource.com/u/SlavikZ)\
**Post date:** [October 7, 2024, 9:43am UTC](https://community.sonarsource.com/t/advanced-class-cycle-detection-for-java/127500/3 "2024-10-07T09:43:49Z")

</div>

I like the feature, but we also have false positive detections when using Jackson’s `@JsonSubTypes.Type` annotation (for an example, see [Jackson Polymorphic Type Handling Annotations](https://www.baeldung.com/jackson-annotations#jackson-polymorphic-type-handling-annotations)). Circular dependencies between base and child classes exist there “by design”.

---

_[View the full topic](https://community.sonarsource.com/t/advanced-class-cycle-detection-for-java/127500)._
