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 Parent { private Long id; private String name; private ParentInfo info; public Parent() { } public Parent(String name) { this.name = name; } public Long getId() { return id; } public void setId(Long id) { this.id = id; } public String getName() { return name; } public void setName(String name) { this.name = name; } public ParentInfo getInfo() { return info; } public void setInfo(ParentInfo 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/Parent.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
public class MoreCrazyIdFieldNameStuffEntity {
1
public class Parent {
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 ParentInfo info;
6
() {
6
	public Parent() {
7
	}
7
	}
8

8
	public MoreCrazyIdFieldNameStuffEntity(String name) {
9
	public Parent(String name) {
9
		this.name = name;
10
		this.name = name;
10
	}
11
	}
12

11
	public Long getMoreCrazyIdFieldNameStuffEntity() {
13
	public Long getId() {
12
		return moreCrazyIdFieldNameStuffEntity;
14
		return 
13
	}
14
	public void setMoreCrazyIdFieldNameStuffEntity(Long moreCrazyIdFieldNameStuffEntity
15
id;
16
	}
15
) {
17
	public void setId(Long id) {
16
		this.moreCrazyIdFieldNameStuffEntity = moreCrazyIdFieldNameStuffEntity;
18
		this.
17
	}
18
	public HeresAnotherCrazyIdFieldName getHeresAnotherCrazyIdField
19
id = id;
20
	}
19
Name() {
21
	public String getName() {
20
		return heresAnotherCrazyIdFieldName;
22
		return name;
21
	}
23
	}
24

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

25
	public String getName() {
29
	public ParentInfo getInfo() {
26
		return name;
30
		return 
27
	}
31
info;
32
	}
33

28
	public void setName(String name) {
34
	public void setInfo(ParentInfo info) {
29
		this.name = name;
35
		this.info = info;
30
	
36
	
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