Sealed classes: extra java against kotlin tests, together with an implementation of Java diagnostics inside these tests
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
package test;
|
||||
|
||||
public class Instance {
|
||||
// It is not possible to create Season instance (it's sealed in Kotlin)
|
||||
static Season create() {
|
||||
return new Season();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user