Files
openide/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/extendSealedClass/afterSubclassWithParentObject.java
Tagir Valeev 2c12f7c579 [java-intentions] ExtendSealedClassFix: ModCommand
IntentionActionWithChoice UI replaced with multi-step ModCommand, as we don't have IntentionActionWithChoice in ModCommand API, and it's unclear whether it's a good idea, and how to implement it better

GitOrigin-RevId: a702bc672b56f4c51dd7e7b01cf5ee0ded457805
2023-07-21 11:17:34 +00:00

4 lines
130 B
Java

// "Make 'Child' extend 'Parent'|->final" "true-preview"
sealed class Parent permits Child {}
final class Child extends Parent {}