Java to Kotlin convertor: generating of val/var constructor parameters when possible
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
//file
|
||||
class C {
|
||||
public Object x;
|
||||
|
||||
public C(Object x, boolean b) {
|
||||
if (b) {
|
||||
this.x = x;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user