This Eclipse plug-in facilitates the development by using the Jakarta commons component. commons4e uses commons-lang builders to automatically generate the following methods based on the selected field (fields): tostring (), hashcode (), equals (object), and compareto (object ).
Http://commons4e.berlios.de/
Download:
You can download the ZIP Archive and install by hand, or use the Update site.
ZIP Archive: (source encoded DED)
Http://developer.berlios.de/project/showfiles.php? Group_id = 2076
Update site:
When Berlios server doesn' t work, you can use the alternative updatesites on this server. (jiayun.org)
Eclipse 3.0.x ~ 3.2m1
Http://commons4e.berlios.de/updatesite
Http://www.jiayun.org/commons4e/updatesite/
Eclipse 2.x
Http://commons4e.berlios.de/updatesite2
Http://www.jiayun.org/commons4e/updatesite2/
Note: After downloading or installing through the updated website, related options will be available in preference-java.
In the Java file, right-click the commons4e menu to conveniently generate tostring (), hashcode (), equals (object), and compareto (object) methods for this class, you can also select fields as needed, which is very convenient.
In addition, similar plug-ins also have a commonclipse with similar functions.
Http://commonclipse.sourceforge.net/