meikl
@meikl9 years ago
Endi Sukaj
@endi-sukaj9 years ago
@meikl
You can define a toString template in IDEA at least (JSON, YAML, XML, etc...)
Endi Sukaj
@endi-sukaj9 years ago
@meikl
I think it is. At least that's how I understood this question but bear in mind that I did not ask this question.
Adam Hardy
@ahardy429 years ago
@endi-sukaj
Yes exactly. Of course anything can generate code, it doesn't have to be an IDE. You might be using vi and invoking a shell script, but you'll need a template. The question is not about that though, it's about the resulting code. I guess that is where the confusion comes in. I'll remove the word 'template', maybe it'll be more obvious.
Endi Sukaj
@endi-sukaj9 years ago
@ahardy42
By resulting code you mean the string representation of the class generated by toString(), right? Also, are you looking for specific templates or just general formats?
Could you please clarify this question? How .toString related to a template? Do you mean in an IDE like IDEA?