Code Insight: "Generate toString" action
#KT-10309 Fixed
This commit is contained in:
+10
@@ -0,0 +1,10 @@
|
||||
// GENERATOR: SINGLE_TEMPLATE
|
||||
class A(val n: Int) {
|
||||
fun foo() {
|
||||
|
||||
}
|
||||
|
||||
<caret>override fun toString(): String{
|
||||
return "A(n=$n)"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user