Java to Kotlin converter: more smartness about nullability
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
//file
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
|
||||
class C {
|
||||
@Nullable private final String string = getString();
|
||||
|
||||
static String getString() { return x(); }
|
||||
}
|
||||
Reference in New Issue
Block a user