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 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/hql/HeresAnotherCrazyIdFieldName.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 HeresAnotherCrazyIdFieldName {
1
public static class XX {
2
	private Long heresAnotherCrazyIdFieldName;
2
		private Long id;
3
	private String name;
3
		private 
4
	public HeresAnotherCrazyIdFieldName
4
X x;
5
() {
5
		private XX() {
6
	}
6
}
7
	public HeresAnotherCrazyIdFieldName(String name) {
7
		public XX(X x) {
8
		this.name = name;
8
			this.x = x;
9
	}
9
		}
10
	public Long getHeresAnotherCrazyIdFieldName() {
10
		public Long getId() {
11
		return heresAnotherCrazyIdFieldName;
11
			return id;
12
	}
12
		}
13
	public void setHeresAnotherCrazyIdFieldName(Long heresAnotherCrazyIdFieldName) {
13
		public void setId(Long id) {
14
		this.heresAnotherCrazyIdFieldName = heresAnotherCrazyIdFieldName;
14
			this.id = id;
15
	}
15
		}
16
	public String getName() {
16
		public X getX() {
17
		return name;
17
			return x;
18
	}
18
		}
19
	public void setName(String name) {
19
		public void setX(X x) {
20
		this.name = name
20
			this.x = x
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