Updating java to kotlin convert to new language syntax
This commit is contained in:
@@ -1,16 +1,16 @@
|
||||
import javaApi.Anon5
|
||||
|
||||
class A
|
||||
[Anon5(10)]
|
||||
(private val a: Int, private val b: Int) {
|
||||
@Anon5(10)
|
||||
constructor(private val a: Int, private val b: Int) {
|
||||
|
||||
deprecated("") // this constructor will not be replaced by default parameter value in primary because of this annotation
|
||||
public constructor(a: Int) : this(a, 1) {
|
||||
}
|
||||
}
|
||||
|
||||
class B [Anon5(11)]
|
||||
()
|
||||
class B @Anon5(11)
|
||||
constructor()
|
||||
|
||||
class C [Anon5(12)]
|
||||
private ()
|
||||
class C @Anon5(12)
|
||||
private constructor()
|
||||
Reference in New Issue
Block a user