public class Joiner { private Long id; private String name; private String joinedName; 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 String getJoinedName() { return joinedName; } public void setJoinedName(String joinedName) { this.joinedName = joinedName;
public class ChildInfo { private Long id; private Child owner; private String info; public ChildInfo() { } public ChildInfo(String info) { this.info = info; } public Long getId() { return id; } public Child getOwner() { return owner; } public void setOwner(Child owner) { this.owner = owner; } public String getInfo() { return info; } public void setInfo(String 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/Joiner.java File path: /hibernate-distribution-3.3.2.GA/project/testsuite/src/test/java/org/hibernate/test/jpa/cascade/ChildInfo.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
public class Joiner {
1
public class ChildInfo {
2
	private Long id;
2
	private Long id;
3
	private String name;
3
	private Child owner;
4
	private String joinedName;
4
	private String 
5
	public Long getId(
5
info;
6
	public ChildInfo() {
7
	}
6
) {
8
	public ChildInfo(String info) {
7
		return id;
9
		
8
	}
9
	public void setId(Long id
10
this.info = info;
11
	}
10
) {
12
	public Long getId() {
11
		this.id = id;
13
		return id;
12
	}
14
	}
15

13
	public String getName() {
16
	public Child getOwner() {
14
		return name;
17
		return 
15
	}
18
owner;
19
	}
20

16
	public void setName(String name) {
21
	public void setOwner(Child owner) {
17
		this.name = name;
22
		this.
18
	}
23
owner = owner;
24
	}
25

19
	public String getJoinedName() {
26
	public String getInfo() {
20
		return joinedName;
27
		return 
21
	}
28
info;
29
	}
30

22
	public void setJoinedName(String joinedName) {
31
	public void setInfo(String info) {
23
		this.joinedName = joinedName;
32
		this.info = info;
24
	
33
	
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