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 Being { private long id; private String identity; private String location; private String species; public void setLocation(String location) { this.location = location; } public String getLocation() { return location; } public void setSpecies(String species) { this.species = species; } public String getSpecies() { return species; } public void setIdentity(String identity) { this.identity = identity; } public String getIdentity() { return identity;
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/subselect/Being.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
public class AddressImpl implements Address {
1
public class Being {
2
	private Long id;
2
	private long id;
3
	private String addressType;
3
	private String 
4
	private Server server;
5
	public Long getId() {
6
		return id;
7
	}
8
	public void setId(Long id
4
identity;
5
	private String location;
6
	private String species;
7
	
9
) {
8
	public void setLocation(String location) {
10
		this.id = id;
9
		this.
11
	}
12

10
location = location;
11
	}
13
	public String getAddressType() {
12
	public String getLocation() {
14
		return addressType;
13
		return 
15
	}
16

14
location;
15
	}
17
	public void setAddressType(String addressType) {
16
	public void setSpecies(String species) {
18
		this.addressType = addressType;
17
		this.
19
	}
20

18
species = species;
19
	}
21
	public Server getServer() {
20
	public String getSpecies() {
22
		return server;
21
		return s
23
	}
24

22
pecies;
23
	}
25
	public void setServer(Server server) {
24
	public void setIdentity(String identity) {
26
		this.server = server;
25
		this.identity = identity;
26
	}
27
	public String getIdentity() {
28
		return identity;
27
	
29
	
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