UnimplementedKotlinInterfaceMemberAnnotator: shouldn't report methods with @JvmStatic

#KT-27208 Fixed
This commit is contained in:
Dmitry Gridin
2019-07-23 14:59:48 +03:00
parent cf07585b11
commit 311cfc3806
9 changed files with 53 additions and 1 deletions
@@ -0,0 +1 @@
class Test implements A { }
@@ -0,0 +1,5 @@
interface A {
companion object {
fun create() {}
}
}
@@ -0,0 +1,3 @@
package test;
public class InterfaceWithJvmStatic implements A { }
@@ -0,0 +1,8 @@
package test
interface A {
companion object {
@JvmStatic
fun create() {}
}
}
@@ -0,0 +1,3 @@
// LANGUAGE_LEVEL 1.8
// WITH_RUNTIME
// KOTLINC_EXTRA_OPTS -jvm-target, 1.8