I am using SonarQube to examine my Java code. In that, I have to @interface
classes which are quite similar, but they also have some differences. However, Sonar complains about the code duplication.
But @interface
s cannot be set up in an inheritance hierarchy. Does anybody have an idea how to solve this?