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;
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;
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/ChildInfo.java File path: /hibernate-distribution-3.3.2.GA/project/testsuite/src/test/java/org/hibernate/test/legacy/Container.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
public class ChildInfo {
1
public 
2
	private Long id;
3
	private Child owner;
4
	private String info;
5
	public ChildInfo() {
6
	}
7
	public ChildInfo(String info
2
static final class Ternary {
3
		private String name;
4
		private Foo foo;
5
		private Glarch glarch;
6
		/**
7
		 * Returns the foo.
8
		 * @return Foo
9
		 */
8
) {
10
		public Foo getFoo() {
9
		this.info = info;
11
		
10
	}
11
	public Long getId
12
	return foo;
13
		}
14
		
15
		/**
16
		 * Returns the glarch.
17
		 * @return Glarch
18
		 */
12
() {
19
		public Glarch getGlarch() {
13
		return id;
20
			return 
14
	}
21
glarch;
22
		}
23
		
24
		/**
25
		 * Returns the name.
26
		 * @return String
27
		 */
15
	public Child getOwner() {
28
		public String getName() {
16
		return owner;
29
			return 
17
	}
18
	public void setOwner(Child owner
30
name;
31
		}
32
		
33
		/**
34
		 * Sets the foo.
35
		 * @param foo The foo to set
36
		 */
19
) {
37
		public void setFoo(Foo foo) {
20
		this.owner = owner;
38
			this.
21
	}
22
	public String getInfo(
39
foo = foo;
40
		}
41
		
42
		/**
43
		 * Sets the glarch.
44
		 * @param glarch The glarch to set
45
		 */
23
) {
46
		public void setGlarch(Glarch glarch) {
24
		return info;
47
		
25
	}
48
	this.glarch = glarch;
49
		}
50
		
51
		/**
52
		 * Sets the name.
53
		 * @param name The name to set
54
		 */
26
	public void setInfo(String info) {
55
		public void setName(String name) {
27
		this.info = info;
56
			this.name = name;
28
	
57
		
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