UnimplementedKotlinInterfaceMemberAnnotator: shouldn't report methods with @JvmStatic
#KT-27208 Fixed
This commit is contained in:
@@ -0,0 +1 @@
|
||||
class Test implements A { }
|
||||
@@ -0,0 +1,5 @@
|
||||
interface A {
|
||||
companion object {
|
||||
fun create() {}
|
||||
}
|
||||
}
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
package test;
|
||||
|
||||
public class InterfaceWithJvmStatic implements A { }
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
package test
|
||||
|
||||
interface A {
|
||||
companion object {
|
||||
@JvmStatic
|
||||
fun create() {}
|
||||
}
|
||||
}
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
// LANGUAGE_LEVEL 1.8
|
||||
// WITH_RUNTIME
|
||||
// KOTLINC_EXTRA_OPTS -jvm-target, 1.8
|
||||
Reference in New Issue
Block a user