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 ParentAssigned { private Long id; private String name; private ParentInfoAssigned info; public ParentAssigned() { } public ParentAssigned(Long id, String name) { this.id = id; this.name = name; } public Long getId() { return id; } public String getName() { return name; } public void setName(String name) { this.name = name; } public ParentInfoAssigned getInfo() { return info; } public void setInfo(ParentInfoAssigned info) { this.info = info
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/jpa/cascade/ParentAssigned.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
public class MoreCrazyIdFieldNameStuffEntity {
1
public class ParentAssigned {
2
	private Long moreCrazyIdFieldNameStuffEntity;
2
	private Long 
3
	private HeresAnotherCrazyIdFieldName heresAnotherCrazyIdFieldName; // silly ain't it ;)
4
	private String name;
5
	public MoreCrazyIdFieldNameStuffEntity
3
id;
4
	private String name;
5
	private ParentInfoAssigned info;
6
() {
6
	public ParentAssigned() {
7
	}
7
	}
8

8
	public MoreCrazyIdFieldNameStuffEntity(String name) {
9
	public ParentAssigned(Long id, String name) {
9
		this.name = name;
10
		this.
10
	}
11
	public Long getMoreCrazyIdFieldNameStuffEntity() {
12
		return moreCrazyIdFieldNameStuffEntity;
13
	}
14
	public void setMoreCrazyIdFieldNameStuffEntity(Long moreCrazyIdFieldNameStuffEntity
11
id = id;
12
		this.name = name;
13
	}
15
) {
14
	public Long getId() {
16
		this.moreCrazyIdFieldNameStuffEntity = moreCrazyIdFieldNameStuffEntity;
15
		
17
	}
18
	public HeresAnotherCrazyIdFieldName getHeresAnotherCrazyIdField
16
return id;
17
	}
19
Name() {
18
	public String getName() {
20
		return heresAnotherCrazyIdFieldName;
19
		return name;
21
	}
20
	}
21

22
	public void setHeresAnotherCrazyIdFieldName(HeresAnotherCrazyIdFieldName heresAnotherCrazyIdFieldName) {
22
	public void setName(String name) {
23
		this.heresAnotherCrazyIdFieldName = heresAnotherCrazyIdFieldName;
23
		this.name = name;
24
	}
24
	}
25

25
	public String getName() {
26
	public ParentInfoAssigned getInfo() {
26
		return name;
27
		return 
27
	}
28
info;
29
	}
30

28
	public void setName(String name) {
31
	public void setInfo(ParentInfoAssigned info) {
29
		this.name = name
32
		this.info = info
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