public class Person { private String name; private Employee employee; Person() {} public Person(String name) { this.name = name; } public Employee getEmployee() { return employee; } public void setEmployee(Employee employee) { this.employee = employee; } public String getName() { return name; } public void setName(String name) { this.name = name;
public static class XX { private Long id; private X x; private XX() {} public XX(X x) { this.x = x; } public Long getId() { return id; } public void setId(Long id) { this.id = id; } public X getX() { return x; } public void setX(X x) { this.x = x;
Clone fragments detected by clone detection tool
File path: /hibernate-distribution-3.3.2.GA/project/testsuite/src/test/java/org/hibernate/test/lazyonetoone/Person.java File path: /hibernate-distribution-3.3.2.GA/project/testsuite/src/test/java/org/hibernate/test/legacy/X.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
public class Person {
1
public static class XX {
2
	private String name;
2
		private Long id;
3
	private Employee employee;
3
		private 
4
	Person
4
X x;
5
() {}
5
		private XX() {}
6
	public Person(String name) {
6
		public XX(X x) {
7
		this.name = name;
7
			this.x = x;
8
	}
8
		}
9
	public Employee getEmployee() {
9
		public Long getId() {
10
		return employee;
10
			return id;
11
	}
11
		}
12
	public void setEmployee(Employee employee) {
12
		public void setId(Long id) {
13
		this.employee = employee;
13
			this.id = id;
14
	}
14
		}
15
	public String getName() {
15
		public X getX() {
16
		return name;
16
			return x;
17
	}
17
		}
18
	public void setName(String name) {
18
		public void setX(X x) {
19
		this.name = name;
19
			this.x = x;
20
	
20
		
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