Plugins (1067)


Training and Consulting (40)



EPIC Poll

What is your favourite developer portal?

[ Results | Polls ]

Votes: 539
Comments: 0


Category: Plugin Directory / IDE / Generate clone() / check correct implementation of clone()

Generate clone() / check correct implementation of clone() 
Rate this plugin | Report broken link | Details

Rating: 7.0 (2 Votes) | hits: 0
Generate clone() / check correct implementation of clone()

Version: 0.9.0
Support Eclipse Version: 3.2
License: Free EPL
Development Status: Production/Stable
Company: Eric Bodden, Sable Research Group, McGill University
Plugin home pageHome Page
Plugin SupportPlugin Support
Discussion ForumsDiscussion Forum
Buy Now
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




Last 0 Comments