Java to Kotlin convertor: generating of val/var constructor parameters when possible
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
//file
|
||||
class C {
|
||||
private final int field;
|
||||
|
||||
public C(int p) {
|
||||
field = p
|
||||
System.out.println(p);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user