Java to Kotlin convertor: generating of val/var constructor parameters when possible
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
//file
|
||||
class C {
|
||||
private final int p1;
|
||||
private final int myP2;
|
||||
public int p3;
|
||||
|
||||
public C(int p1, int p2, int p3) {
|
||||
this.p1 = p1;
|
||||
myP2 = p2;
|
||||
this.p3 = p3;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user