public class ParentInfo { private Long id; private Parent owner; private String info; public ParentInfo() { } public ParentInfo(String info) { this.info = info; } public Long getId() { return id; } public Parent getOwner() { return owner; } public void setOwner(Parent owner) { this.owner = owner; } public String getInfo() { return info; } public void setInfo(String info) { this.info = info
public class A { private Long id; private String name; private E forward; /** * Returns the id. * @return Long */ public Long getId() { return id; } /** * Returns the name. * @return String */ public String getName() { return name; } /** * Sets the id. * @param id The id to set */ public void setId(Long id) { this.id = id; } /** * Sets the name. * @param name The name to set */ public void setName(String name) { this.name = name; } public E getForward() { return forward; } public void setForward(E e) { forward = e
Clone fragments detected by clone detection tool
File path: /hibernate-distribution-3.3.2.GA/project/testsuite/src/test/java/org/hibernate/test/jpa/cascade/ParentInfo.java File path: /hibernate-distribution-3.3.2.GA/project/testsuite/src/test/java/org/hibernate/test/legacy/A.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
public class ParentInfo {
1
public class A {
2
	private Long id;
2
	private Long id;
3
	private Parent owner;
3
	private 
4
	private String info;
5
	public ParentInfo() {
6
	}
7
	public ParentInfo(String info
4
String name;
5
	private E forward;
6
	
7
	/**
8
	 * Returns the id.
9
	 * @return Long
10
	 */
11
	public Long getId() {
12
		return id;
13
	}
14
	
15
	/**
16
	 * Returns the name.
17
	 * @return String
18
	 */
8
) {
19
	public String getName() {
9
		this.info = info;
20
		
10
	}
11
	public Long getId(
21
return name;
22
	}
23
	
24
	/**
25
	 * Sets the id.
26
	 * @param id The id to set
27
	 */
12
) {
28
	public void setId(Long id) {
13
		return id;
29
		this.id = id;
14
	}
30
	}
15
	public Parent getOwner() {
16
		return owner;
17
	}
18
	public void setOwner(Parent owner
31
	
32
	/**
33
	 * Sets the name.
34
	 * @param name The name to set
35
	 */
19
) {
36
	public void setName(String name) {
20
		this.owner = owner;
37
		this.
21
	}
22

38
name = name;
39
	}
40
	
23
	public String getInfo() {
41
	public E getForward() {
24
		return info;
42
		return 
25
	}
26

43
forward;
44
	}
27
	public void setInfo(String info) {
45
	public void setForward(E e) {
28
		this.info = info
46
		forward = e
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