ToString() generator

The toString() generator is a plugin that creates implementations for toString() method in java classes. Generated toString() lists names and values of fields and methods selected by user. The style of generated code as well as the format of the output string can be changed in the generator's dialog. The format is controlled with format templates and code style can be chosen from a predefined set with possibility to add new code styles with an extension.

The plug-in is supposed to be used to be used with Eclipse version 3.4 or earlier (but not earlier than 3.2). Since Eclipse 3.5 the toString() generation feature is going to be included in JDT.

The toString() generator was created as a part of Google Summer of Code 2008 by Mateusz Matela (mateusz.matela@gmail.com) with help from mentors Markus Kuppe and Mike Haller.

For more information, choose a topic below: