New J2K: convert vararg type parameter Java length call to Kotlin size call
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
//method
|
||||
int nya(Object... objs) {
|
||||
return objs.length;
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
fun nya(vararg objs: Any?): Int {
|
||||
return objs.size
|
||||
}
|
||||
Reference in New Issue
Block a user