Since version 15, IntelliJ warns me about code duplicates.
In some cases this might be intentional, so I want to ignore/suppress this warning by using the @Suppres
@Suppres
This works for me. You have to set it on both classes/methods if you want to suppress the warning both places.
@SuppressWarnings("Duplicates") private void myDuplicatedMethod() { ... }