Fixed test data for ReadJavaBinaryClassTest, avoiding "package" visibility.
This commit is contained in:
@@ -2,7 +2,7 @@ package test;
|
||||
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
class NotNullField {
|
||||
public class NotNullField {
|
||||
@NotNull
|
||||
public String hi;
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
package test;
|
||||
|
||||
open class NotNullField() : java.lang.Object() {
|
||||
var hi: String = "";
|
||||
public open class NotNullField() : java.lang.Object() {
|
||||
public var hi: String = "";
|
||||
}
|
||||
|
||||
@@ -2,7 +2,7 @@ package test;
|
||||
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
class NotNullMethod {
|
||||
public class NotNullMethod {
|
||||
@NotNull
|
||||
public String hi() { return ""; }
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
package test
|
||||
|
||||
open class NotNullMethod() : java.lang.Object() {
|
||||
open fun hi(): String = ""
|
||||
public open class NotNullMethod() : java.lang.Object() {
|
||||
public open fun hi(): String = ""
|
||||
}
|
||||
|
||||
@@ -2,6 +2,6 @@ package test;
|
||||
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
class NotNullParameter {
|
||||
public class NotNullParameter {
|
||||
public void hi(@NotNull String param) { }
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
package test
|
||||
|
||||
open class NotNullParameter() : java.lang.Object() {
|
||||
open fun hi(p0: String): Unit { }
|
||||
public open class NotNullParameter() : java.lang.Object() {
|
||||
public open fun hi(p0: String): Unit { }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user