RemoveRedundantQualifierNameInspection: fix case with non-static java functions
This commit is contained in:
Vendored
+11
@@ -0,0 +1,11 @@
|
||||
package my;
|
||||
|
||||
public class Reproducer {
|
||||
public static Reproducer test() {
|
||||
return new Reproducer();
|
||||
}
|
||||
|
||||
public int number() {
|
||||
return 42;
|
||||
}
|
||||
}
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
package my.simple.name
|
||||
|
||||
import my.Reproducer
|
||||
|
||||
fun test() = Reproducer()
|
||||
|
||||
fun main() {
|
||||
Reproducer<caret>.test().number()
|
||||
}
|
||||
Reference in New Issue
Block a user