Code Insight: "Generate toString" action

#KT-10309 Fixed
This commit is contained in:
Alexey Sedunov
2016-01-11 20:49:09 +03:00
parent 77b637e238
commit 618f9f62f6
37 changed files with 889 additions and 66 deletions
@@ -0,0 +1,10 @@
// GENERATOR: SINGLE_TEMPLATE
class A(val n: Int) {
fun foo() {
}
<caret>override fun toString(): String{
return "A(n=$n)"
}
}