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 OneToOneProxy { private Long entityId; private String name; private EntityWithOneToOnes entity; public OneToOneProxy() {} public OneToOneProxy(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/OneToOneProxy.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
OneToOneProxy {
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 OneToOneProxy() {
8
	}
8
}
9
	public MoreCrazyIdFieldNameStuffEntity(String name) {
9
	public OneToOneProxy(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.
19
	}
20
	public HeresAnotherCrazyIdFieldName getHeresAnotherCrazyIdFieldName() {
21
		return heresAnotherCrazyIdFieldName;
22
	}
23
	public void setHeresAnotherCrazyIdFieldName(HeresAnotherCrazyIdFieldName heresAnotherCrazyIdFieldName) {
24
		this.heresAnotherCrazyIdFieldName = heresAnotherCrazyIdFieldN
24
entityId = entityId;
25
	}
26
	/**
27
	 * @return Returns the name.
28
	 */
29
	public String getName() {
30
		return name;
31
	}
32
	/**
33
	 * @param name The name to set.
34
	 */
35
	public void setName(String name) {
25
ame;
36
		this.name = name;
26
	}
37
	}
27
	public String getName() {
38
	public EntityWithOneToOnes getEntity() {
28
		return name;
39
		return entity;
29
	}
40
	}
30
	public void setName(String name) {
41
	public void setEntity(EntityWithOneToOnes entity) {
31
		this.name = name
42
		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