public class Child { private String name; private Parent parent; public Child() { } public Child(String name) { this.name = name; } public String getName() { return name; } public void setName(String name) { this.name = name; } public Parent getParent() { return parent; } public void setParent(Parent parent) { this.parent = parent
public class HeresAnotherCrazyIdFieldName { private Long heresAnotherCrazyIdFieldName; private String name; public HeresAnotherCrazyIdFieldName() { } public HeresAnotherCrazyIdFieldName(String name) { this.name = name; } public Long getHeresAnotherCrazyIdFieldName() { return heresAnotherCrazyIdFieldName; } public void setHeresAnotherCrazyIdFieldName(Long heresAnotherCrazyIdFieldName) { this.heresAnotherCrazyIdFieldName = heresAnotherCrazyIdFieldName; } public String getName() { return name; } public void setName(String name) { this.name = name
Clone fragments detected by clone detection tool
File path: /hibernate-distribution-3.3.2.GA/project/testsuite/src/test/java/org/hibernate/test/collection/set/Child.java File path: /hibernate-distribution-3.3.2.GA/project/testsuite/src/test/java/org/hibernate/test/hql/HeresAnotherCrazyIdFieldName.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
public class Child {
1
public class HeresAnotherCrazyIdFieldName {
2
	private String name;
2
	private Long heresAnotherCrazyIdFieldName;
3
	private Parent parent;
3
	private 
4
	public Child
4
String name;
5
() {
5
	public HeresAnotherCrazyIdFieldName() {
6
	}
6
	}
7

8
	public Child(String name) {
7
	public HeresAnotherCrazyIdFieldName(String name) {
9
		this.name = name;
8
		this.name = name;
10
	}
9
	}
11

12
	public String getName() {
10
	public Long getHeresAnotherCrazyIdFieldName() {
13
		return name;
11
		return heresAnotherCrazyIdFieldName;
14
	}
12
	}
15

16
	public void setName(String name) {
13
	public void setHeresAnotherCrazyIdFieldName(Long heresAnotherCrazyIdFieldName) {
17
		this.name = name;
14
		this.heresAnotherCrazyIdFieldName = heresAnotherCrazyIdFieldName;
18
	}
15
	}
19

20
	public Parent getParent() {
16
	public String getName() {
21
		return parent;
17
		return 
22
	}
23

18
name;
19
	}
24
	public void setParent(Parent parent) {
20
	public void setName(String name) {
25
		this.parent = parent
21
		this.name = name
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