public static final class Ternary { private String name; private Foo foo; private Glarch glarch; /** * Returns the foo. * @return Foo */ public Foo getFoo() { return foo; } /** * Returns the glarch. * @return Glarch */ public Glarch getGlarch() { return glarch; } /** * Returns the name. * @return String */ public String getName() { return name; } /** * Sets the foo. * @param foo The foo to set */ public void setFoo(Foo foo) { this.foo = foo; } /** * Sets the glarch. * @param glarch The glarch to set */ public void setGlarch(Glarch glarch) { this.glarch = glarch; } /** * Sets the name. * @param name The name to set */ public void setName(String name) { this.name = name
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/legacy/Container.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 static final class Ternary {
1
public class Being {
2
		private String name;
2
	private long id;
3
		private Foo foo;
3
	private String identity;
4
		private Glarch glarch;
4
	private 
5
		/**
6
		 * Returns the foo.
7
		 * @return Foo
8
		 */
9
	
5
String location;
6
	private String species;
7
	
10
	public Foo getFoo() {
8
	public 
11
			return foo;
12
		}
13
		
14
		/**
15
		 * Returns the glarch.
16
		 * @return Glarch
17
		 */
18
		public Glarch getGlarch() {
19
			return glarch;
20
		}
21
		
22
		/**
23
		 * Returns the name.
24
		 * @return String
25
		 */
26
	
9
void setLocation(String location) {
10
		this.location = location;
11
	}
27
	public String getName() {
12
	public String getLocation() {
28
			return name;
13
		return 
29
		}
30
		
31
		/**
32
		 * Sets the foo.
33
		 * @param foo The foo to set
34
		 */
35
		public void setFoo(Foo foo
14
location;
15
	}
36
) {
16
	public void setSpecies(String species) {
37
			this.foo = foo;
17
		this.species = species;
38
		}
18
	}
39
		
19
	
40
		/**
41
		 * Sets the glarch.
42
		 * @param glarch The glarch to set
43
		 */
44
		public void setGlarch(Glarch glarch
20
public String getSpecies() {
21
		return species;
22
	}
45
) {
23
	public void setIdentity(String identity) {
46
			this.glarch = glarch;
24
		this.
47
		}
48
		
49
		/**
50
		 * Sets the name.
51
		 * @param name The name to set
52
		 */
53
		public void setName(String name) {
54
			this.name = name
25
identity = identity;
26
	}
27
	public String getIdentity() {
28
		return identity
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