Files
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

8 lines
236 B
Java

// "Make 'Child' extend 'Parent'|->non-sealed" "true-preview"
sealed interface Parent permits Child, Foo {}
interface OtherParent {}
non-sealed interface Foo extends Parent {}
non-sealed interface Child extends OtherParent, Parent {}