Version: 0.9.0 Support Eclipse Version: 3.2 License: Free EPL Development Status: Production/Stable Company: Eric Bodden, Sable Research Group, McGill University
Home Page
Plugin Support
Discussion Forum
Update Site URL: http://www.sable.mcgill.ca/~ebodde/genclone/
This plugin consists of two parts:
1. An Eclipse builder that detects four different code smells w.r.t. cloning:
1. Returning null from clone()
2. Never calling super.clone().
3. Implementing clone() but not Clooneable or vice versa.
4. In a Java 5 project, not using the covariant return type for clone().
2. A code generator very similar in style to "generate hashCode()/equals()" that allows to generate correct clone methods with selective deep copy of fields that have as declared type a reference type that also implements Cloneable. Added on: 16-Apr-2007