Implement custom TargetElementEvaluator KT-4190 #Fixed
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
package testing
|
||||
|
||||
abstract class Test
|
||||
|
||||
open class TestOther : <caret>Test()
|
||||
|
||||
class TestOtherMore : TestOther()
|
||||
|
||||
// REF: (testing).TestOther
|
||||
// REF: (testing).TestOtherMore
|
||||
@@ -0,0 +1,16 @@
|
||||
package testing
|
||||
|
||||
trait Test
|
||||
|
||||
trait TestMore: <caret>Test
|
||||
|
||||
open class TestClass1: Test
|
||||
|
||||
class TestClass2: TestClass1()
|
||||
|
||||
class TestClass3: TestMore
|
||||
|
||||
// REF: (testing).TestMore
|
||||
// REF: (testing).TestClass1
|
||||
// REF: (testing).TestClass2
|
||||
// REF: (testing).TestClass3
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
public abstract class JavaBase {
|
||||
}
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
package testing.kt
|
||||
|
||||
class KotlinImpl : <caret>JavaBase()
|
||||
|
||||
// REF: (testing.kt).KotlinImpl
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
public interface JavaBase {
|
||||
}
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
package testing.kt
|
||||
|
||||
trait KotlinTrait: <caret>JavaBase
|
||||
|
||||
class KotlinClass : JavaBase
|
||||
|
||||
// REF: (testing.kt).KotlinClass
|
||||
// REF: (testing.kt).KotlinTrait
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
package testing.jj;
|
||||
|
||||
class JavaImplementation extends testing.kt.Base {
|
||||
}
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
package testing.kt
|
||||
|
||||
abstract class <caret>Base
|
||||
|
||||
// REF: (testing.jj).JavaImplementation
|
||||
+7
@@ -0,0 +1,7 @@
|
||||
package testing.jj;
|
||||
|
||||
class JavaClass implements testing.kt.Base {
|
||||
}
|
||||
|
||||
interface JavaInterface extends testing.kt.Base {
|
||||
}
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
package testing.kt
|
||||
|
||||
trait Base
|
||||
|
||||
trait Derived: <caret>Base
|
||||
|
||||
// REF: (testing.jj).JavaClass
|
||||
// REF: (testing.jj).JavaInterface
|
||||
// REF: (testing.kt).Derived
|
||||
Reference in New Issue
Block a user