Java to Kotlin converter: access modifiers of factory functions + factory functions for nested classes

This commit is contained in:
Valentin Kipyatkov
2014-06-27 14:16:54 +04:00
parent 3c34197bc0
commit e86d74600d
11 changed files with 388 additions and 14 deletions
@@ -0,0 +1,24 @@
//file
class A {
public A() {}
public A(int a) { this(); }
protected A(char c) { this(); }
A(float f) { this(); }
private A(double d) { this(); }
}
public class B {
public B() {}
public B(int a) { this(); }
protected B(char c) { this(); }
B(float f) { this(); }
private B(double d) { this(); }
}