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;
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;
Clone fragments detected by clone detection tool
File path: /hibernate-distribution-3.3.2.GA/project/testsuite/src/test/java/org/hibernate/test/hql/HeresAnotherCrazyIdFieldName.java File path: /hibernate-distribution-3.3.2.GA/project/testsuite/src/test/java/org/hibernate/test/reattachment/Child.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
public class HeresAnotherCrazyIdFieldName {
1
public class Child {
2
	private Long heresAnotherCrazyIdFieldName;
2
	private String name;
3
	private String name;
3
	private 
4
	public HeresAnotherCrazyIdFieldName
4
Parent parent;
5
() {
5
	public Child() {
6
	}
6
	}
7

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

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

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

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

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