Create from usage: Use separate editor for templates which should be placed in Java files

This commit is contained in:
Alexey Sedunov
2015-02-20 13:25:47 +03:00
parent 6bdff82c3a
commit 2af83c58c9
42 changed files with 252 additions and 124 deletions
@@ -4,5 +4,4 @@
[foo(1, "2", J.bar("3", 4))] fun test() {
}
}
@@ -3,5 +3,4 @@
class A(val n: Int)
fun test() = J.Foo(abc = 1, ghi = A(2), def = "s")
fun test() = J.Foo(abc = 1, ghi = A(2), def = "s")
@@ -3,5 +3,4 @@
fun test<U>(u: U) {
val a = J(u).Foo(u)
}
}
@@ -3,5 +3,4 @@
fun test() {
val a = J.Foo(2)
}
}
@@ -3,5 +3,4 @@
fun test() {
val a = J().Foo(2)
}
}
@@ -7,4 +7,3 @@ open class B
class A<T>(val t: T) {
val x: B by J.Foo(t, "")
}
@@ -3,5 +3,4 @@
open class A
fun test(): A = J.Foo(2, "2")
fun test(): A = J.Foo(2, "2")
@@ -3,5 +3,4 @@
open class A(val n: Int)
fun test(): A = J.Foo(2, "2")
fun test(): A = J.Foo(2, "2")
@@ -3,5 +3,4 @@
trait T
fun test(): T = J.Foo(2, "2")
fun test(): T = J.Foo(2, "2")
@@ -3,5 +3,4 @@
class A<T>(val b: B<T>) {
fun test() = B.Foo<Int, String>(2, "2")
}
}
@@ -3,5 +3,4 @@
class A<T>(val b: B<T>) {
fun test() = b.Foo<Int, String>(2, "2")
}
}
@@ -3,5 +3,4 @@
class A<T>(val b: B<T>) {
fun test() = b.Foo<String>(2, "2")
}
}
@@ -3,5 +3,4 @@
class A<T>(val b: B<T>) {
fun test() = b.Foo<T, Int, String>(2, "2")
}
}
@@ -3,5 +3,4 @@
class A<T>(val b: B<T>) {
fun test() = B.Foo<String>(2, "2")
}
}