Fix for KT-13695, KT-13159 J2K: Invalid conversion context setup for plain text pastes
Extending, Implementing, imports from paste target file previously not implemented
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
package test;
|
||||
|
||||
public class JavaParent {
|
||||
public void subject() {}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
import test.JavaParent
|
||||
|
||||
class KotlinChild : JavaParent() {
|
||||
override fun subject() {
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
import test.JavaParent
|
||||
|
||||
class KotlinChild : JavaParent() {
|
||||
<caret>
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
@Override public void subject() {}
|
||||
@@ -0,0 +1,7 @@
|
||||
package test;
|
||||
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
|
||||
public interface JavaInterface {
|
||||
void subject(@Nullable String s)
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
import test.JavaInterface
|
||||
|
||||
class KotlinChild : JavaInterface() {
|
||||
override fun subject(s: String?) {
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
import test.JavaInterface
|
||||
|
||||
class KotlinChild : JavaInterface() {
|
||||
<caret>
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
@Override public void subject(String s) {}
|
||||
Reference in New Issue
Block a user