public class MyEntity { private Long id; private String name; private MyEntity other; 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 MyEntity getOther() { return other; } public void setOther(MyEntity other) { this.other = other
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/jpa/MyEntity.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 MyEntity {
1
public class ChildInfo {
2
	private Long id;
2
	private Long id;
3
	private String name;
3
	private Child owner;
4
	private MyEntity other;
4
	private 
5
	public Long getId() {
6
		return id;
7
	}
8
	public void setId(Long id) {
9
		this.id =
5
String info;
6
	public ChildInfo() {
7
	}
8
	public ChildInfo(String info) {
9
		this.info = info;
10
	}
11
	public Long getId() {
10
 id;
12
		return id;
11
	}
13
	}
12
	public String getName() {
14
	public Child getOwner() {
13
		return name;
15
		return owner;
14
	}
16
	}
15
	public void setName(String name) {
17
	public void setOwner(Child owner) {
16
		this.name = name;
18
		this.owner = owner;
17
	}
19
	}
18
	public MyEntity getOther() {
20
	public String getInfo() {
19
		return other;
21
		return info;
20
	}
22
	}
21
	public void setOther(MyEntity other) {
23
	public void set
22
		this.other = other
24
Info(String info) {
25
		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