Java to Kotlin converter: access modifiers of factory functions + factory functions for nested classes
This commit is contained in:
@@ -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(); }
|
||||
}
|
||||
Reference in New Issue
Block a user