[java-intentions] IDEA-365579 Extend class quick-fix shouldn't be shown, leads to a red code if executed

GitOrigin-RevId: 49fd47d8848d2241274262d926a967c14d900013
This commit is contained in:
Tagir Valeev
2025-04-02 12:49:55 +02:00
committed by intellij-monorepo-bot
parent 68c62875bd
commit cb2bafc26f
2 changed files with 16 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
// "Make 'Descriptor' extend 'Descriptor'" "false"
public class ProposeToExtend {
public static <T> void send(Descriptor<T> descriptor) {
sendImpl(<caret>descriptor, null);
}
private static <T extends CharSequence> void sendImpl(Descriptor<T> descriptor, T value) {
}
}
class Descriptor<T extends CharSequence> {
}