Create from usage: Use separate editor for templates which should be placed in Java files
This commit is contained in:
+1
-2
@@ -3,5 +3,4 @@
|
||||
|
||||
fun test(a: A): Int? {
|
||||
return a.foo<String, Int>(1, "2")
|
||||
}
|
||||
|
||||
}
|
||||
@@ -3,5 +3,4 @@
|
||||
|
||||
fun test(): Int? {
|
||||
return A().foo(1, "2")
|
||||
}
|
||||
|
||||
}
|
||||
+1
-2
@@ -3,5 +3,4 @@
|
||||
|
||||
fun test(): Int {
|
||||
return A().foo<String, Int>(1, "2")
|
||||
}
|
||||
|
||||
}
|
||||
+1
@@ -4,3 +4,4 @@
|
||||
fun test() {
|
||||
val a: Int = J.<caret>foo("1", 2)
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
class B<T>{
|
||||
final T t;
|
||||
|
||||
public <U, V, W> U foo(V v, W w) {
|
||||
public <U, V> U foo(U u, V v) {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user