[java-intentions] UnimplementInterfaceAction: do not try to remove synthetic methods

Fixes IDEA-354044 Error in Unimplement Interface when invoked on record

GitOrigin-RevId: 9c07e03d1f86ded0aeea3bd0f373dfc263e72eb4
This commit is contained in:
Tagir Valeev
2024-06-14 13:00:17 +02:00
committed by intellij-monorepo-bot
parent d0e4f5f297
commit 636172d7db
3 changed files with 11 additions and 1 deletions

View File

@@ -0,0 +1,5 @@
// "Unimplement" "true-preview"
interface Iface {
int value();
}
record R(int value) {}

View File

@@ -0,0 +1,5 @@
// "Unimplement" "true-preview"
interface Iface {
int value();
}
record R(int value) implements Ifa<caret>ce {}