Plugins (1000)


Training and Consulting (67)


Eclipse Summit Europe 2009


EPIC Poll

What is your favourite developer portal?

[ Results | Polls ]

Votes: 598
Comments: 0

EPIC has moved! The content of this site has been frozen and placed in a Read-Only State. Check out our new Eclipse Marketplace site. Logins to this site have been disabled.


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

This listing has moved and is Out of Date. Please view the most up to date listing here:
http://marketplace.eclipse.org/content/generate-clone-check-correct-implementation-clone

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

Rating: 7.0 (2 Votes) | hits: 1
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