public class MoreCrazyIdFieldNameStuffEntity { private Long moreCrazyIdFieldNameStuffEntity; private HeresAnotherCrazyIdFieldName heresAnotherCrazyIdFieldName; // silly ain't it ;) private String name; public MoreCrazyIdFieldNameStuffEntity() { } public MoreCrazyIdFieldNameStuffEntity(String name) { this.name = name; } public Long getMoreCrazyIdFieldNameStuffEntity() { return moreCrazyIdFieldNameStuffEntity; } public void setMoreCrazyIdFieldNameStuffEntity(Long moreCrazyIdFieldNameStuffEntity) { this.moreCrazyIdFieldNameStuffEntity = moreCrazyIdFieldNameStuffEntity; } public HeresAnotherCrazyIdFieldName getHeresAnotherCrazyIdFieldName() { return heresAnotherCrazyIdFieldName; } public void setHeresAnotherCrazyIdFieldName(HeresAnotherCrazyIdFieldName heresAnotherCrazyIdFieldName) { this.heresAnotherCrazyIdFieldName = heresAnotherCrazyIdFieldName; } public String getName() { return name; } public void setName(String name) { this.name = name
public class OneToOneNoProxy { private Long entityId; private String name; private EntityWithOneToOnes entity; public OneToOneNoProxy() {} public OneToOneNoProxy(String name) { this.name = name; } /** * @return Returns the id. */ public Long getEntityId() { return entityId; } /** * @param entityId The id to set. */ public void setEntityId(Long entityId) { this.entityId = entityId; } /** * @return Returns the name. */ public String getName() { return name; } /** * @param name The name to set. */ public void setName(String name) { this.name = name; } public EntityWithOneToOnes getEntity() { return entity; } public void setEntity(EntityWithOneToOnes entity) { this.entity = entity
Clone fragments detected by clone detection tool
File path: /hibernate-distribution-3.3.2.GA/project/testsuite/src/test/java/org/hibernate/test/hql/MoreCrazyIdFieldNameStuffEntity.java File path: /hibernate-distribution-3.3.2.GA/project/testsuite/src/test/java/org/hibernate/test/instrument/domain/OneToOneNoProxy.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
public class MoreCrazyIdFieldNameStuffEntity {
1
public class 
2
	private Long moreCrazyIdFieldNameStuffE
2
OneToOneNoProxy {
3
ntity;
3
	private Long entityId;
4
	private HeresAnotherCrazyIdFieldName heresAnotherCrazyIdFieldName; // silly ain't it ;)
4
	private 
5
	private String name;
6
	public MoreCrazyIdFieldNameStuffEntit
5
String name;
6
	private EntityWithOneToOnes entity;
7
y() {
7
	public OneToOneNoProxy() {
8
	}
8
}
9
	public MoreCrazyIdFieldNameStuffEntity(String name) {
9
	public OneToOneNoProxy(String name) {
10
		this.name = name;
10
		this.name = name;
11
	}
11
	}
12
	public Long getMoreCrazyIdFieldNameStuff
12
	/**
13
	 * @return Returns the id.
14
	 */
13
Entity() {
15
	public Long getEntityId() {
14
		return moreCrazyIdFieldNameStuffEntity;
16
		return 
15
	}
16
	public void setMoreCrazyIdFieldNameStuff
17
entityId;
18
	}
19
	/**
20
	 * @param entityId The id to set.
21
	 */
17
Entity(Long moreCrazyIdFieldNameStuffEntity) {
22
	public void setEntityId(Long entityId) {
18
		this.moreCrazyIdFieldNameStuffEntity = moreCrazyIdFieldNameStuffEntity;
23
		this.entityId = entityId;
19
	}
24
	}
20
	public HeresAnotherCrazyIdFieldName getHeresAnotherCrazyIdFieldName() {
21
		return heresAnotherCrazyIdFieldName;
22
	}
23
	public void setHeresAnotherCrazyIdFieldName(HeresAnotherCrazyIdFieldName heresAnotherCrazyIdFieldName) {
24
		this.heresAnotherCrazyIdFieldName = heresAnotherCrazyIdFieldN
25
	/**
26
	 * @return Returns the name.
27
	 */
28
	public String getName() {
29
		return name;
30
	}
31
	/**
32
	 * @param name The name to set.
33
	 */
34
	public void setName(String name) {
25
ame;
35
		this.name = name;
26
	}
36
	}
27
	public String getName() {
37
	public EntityWithOneToOnes getEntity() {
28
		return name;
38
		return entity;
29
	}
39
	}
30
	public void setName(String name) {
40
	public void setEntity(EntityWithOneToOnes entity) {
31
		this.name = name
41
		this.entity = entity
Summary
Number of common nesting structure subtrees0
Number of refactorable cases0
Number of non-refactorable cases0
Time elapsed for finding largest common nesting structure subtrees (ms)0.0
Clones location
Number of node comparisons0