[java-inspections] IDEA-371903 Add @SuppressWarnings for false-positive "unused constructor" warning

GitOrigin-RevId: 03439754db4d94689d19e782b52a4726c4c86b7d
This commit is contained in:
Bartek Pacia
2025-07-01 17:45:59 +00:00
committed by intellij-monorepo-bot
parent ae4a2db1e7
commit e15ffa8713
@@ -42,6 +42,7 @@ public final class ClassCanBeRecordInspection extends BaseInspection implements
public List<@NlsSafe String> myIgnoredAnnotations = new ArrayList<>();
@SuppressWarnings("unused") // See IDEA-371903
public ClassCanBeRecordInspection() {
myIgnoredAnnotations.addAll(IGNORED_ANNOTATIONS);
}