void () { doTest(InspectionGadgetsBundle.message("unnecessary.inherit.doc.quickfix"), """ class Example implements Comparable<Example> { /** * {@inheritDoc}<caret> */ @Override public int compareTo(Example o) { return 0; } } """, """ class Example implements Comparable<Example> { @Override public int compareTo(Example o) { return 0; } } """ ); }