KT-13529 Java function is not always converted to Kotlin after paste

#KT-13529 Fixed
This commit is contained in:
Valentin Kipyatkov
2016-08-18 22:10:29 +03:00
parent ebd45a8c5c
commit c9d335394d
9 changed files with 47 additions and 4 deletions
@@ -0,0 +1,9 @@
package com.bignerdranch.beatbox.data
/**
* Created by Panel on 18.08.2016.
*/
object BeatBox {
private val TAG = "BeatBox"
private val SOUNDS_FOLDER = "sample_sounds"
}
@@ -0,0 +1,6 @@
package com.bignerdranch.beatbox.data
/**
* Created by Panel on 18.08.2016.
*/
<caret>
@@ -0,0 +1,4 @@
public class BeatBox {
private static final String TAG = "BeatBox";
private static final String SOUNDS_FOLDER = "sample_sounds";
}
@@ -0,0 +1,3 @@
fun foo() {
bar(/*comment*/ArrayList<String>())
}
@@ -0,0 +1,3 @@
fun foo() {
bar(/*comment*/<caret>)
}
@@ -0,0 +1 @@
new ArrayList<String>()