public class AddressImpl implements Address { private Long id; private String addressType; private Server server; public Long getId() { return id; } public void setId(Long id) { this.id = id; } public String getAddressType() { return addressType; } public void setAddressType(String addressType) { this.addressType = addressType; } public Server getServer() { return server; } public void setServer(Server server) { this.server = server
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/abstractembeddedcomponents/propertyref/AddressImpl.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 AddressImpl implements Address {
1
public class ChildInfo {
2
	private Long id;
2
	private Long id;
3
	private String addressType;
3
	private Child owner;
4
	private Server server;
4
	private String info;
5
	public Long getId() {
5
	public 
6
		return id;
7
	}
8
	public void setId(Lo
6
ChildInfo() {
7
	}
9
ng id) {
8
	public ChildInfo(String info) {
10
		this.id = id;
9
		this.info = info;
11
	}
10
	}
12
	public String getAddressType() {
11
	public Long getId() {
13
		return addressType;
12
		return 
14
	}
15
	public void setAddressType(String addressType) {
16
		this.addressType = addressType
13
id;
14
	}
15
	public Child getOwner() {
16
		return owner;
17
	}
18
	public void setOwner(Child owner) {
17
;
19
		this.owner = owner;
18
	}
20
	}
19
	public Server getServer() {
21
	public String getInfo() {
20
		return server;
22
		return info;
21
	}
23
	}
22
	public void setServer(Server server) {
24
	public void set
23
		this.server = server
25
Info(String info) {
26
		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