Make parameter injection work for Java methods
This commit is contained in:
+6
@@ -0,0 +1,6 @@
|
||||
import org.intellij.lang.annotations.Language;
|
||||
|
||||
public class Test {
|
||||
public Test(@Language("HTML") String str) {
|
||||
}
|
||||
}
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
fun bar() {
|
||||
Test("<caret>some")
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
import org.intellij.lang.annotations.Language;
|
||||
|
||||
public class Test {
|
||||
public static void foo(@Language("HTML") String str) {}
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
import some.Test
|
||||
|
||||
fun bar() { Test.foo("<caret>some") }
|
||||
Reference in New Issue
Block a user