Intentions: 'Implement abstract member' (Kotlin -> Kotlin)
#KT-8467 In Progress
This commit is contained in:
+9
@@ -0,0 +1,9 @@
|
||||
interface A {
|
||||
fun foo(): Int
|
||||
}
|
||||
|
||||
class B : A {
|
||||
<spot>override fun foo(): Int {
|
||||
throw UnsupportedOperationException()
|
||||
}</spot>
|
||||
}
|
||||
+7
@@ -0,0 +1,7 @@
|
||||
interface A {
|
||||
<spot>fun foo(): Int</spot>
|
||||
}
|
||||
|
||||
class B : A {
|
||||
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
<html>
|
||||
<body>
|
||||
This intention searches for all classes that can implement selected abstract member, and creates default implementation there.
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user