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