Light Classes: Implement light elements for 'extends'/'implements' reference lists. Support adding/removing of super type list entries via light elements.

Fix exception on applying "Convert to class" intention to Java interface with Kotlin inheritor(s)
 #KT-11281 Fixed
(cherry picked from commit 4ec4914)

GitOrigin-RevId: 6c9744fa0d9a6e70baa380733b087c8b2bcb1a0c
This commit is contained in:
Alexey Sedunov
2016-06-28 15:07:24 +03:00
committed by intellij-monorepo-bot
parent 10834540f8
commit a62c1854ab
5 changed files with 41 additions and 0 deletions
@@ -0,0 +1,9 @@
interface IK
class C2 : I() {
}
class C3: I(), IK {
}
@@ -0,0 +1,4 @@
// "Convert to 'class'" "true"
public abstract class <caret>I {
}
@@ -0,0 +1,9 @@
interface IK
class C2 : I {
}
class C3: I, IK {
}
@@ -0,0 +1,4 @@
// "Convert to 'class'" "true"
public interface <caret>I {
}