public static final class Option { private String name; private String value; /** Constructor for Option */ public Option() { //default } /** * Get the name attribute. * @return the name attribute. */ public String getName() { return name; } /** * Set the name attribute. * @param name the name of the option. */ public void setName(String name) { this.name = name; } /** * Get the value attribute. * @return the value attribute. */ public String getValue() { return value; } /** * Set the value attribute. * @param value the value of the option. */ public void setValue(String value) { this.value = value;
public class DocletParam { /** The parameter name */ private String name; /** The parameter value */ private String value; /** * Set the name of the parameter. * * @param name the name of the doclet parameter */ public void setName(String name) { this.name = name; } /** * Get the parameter name. * * @return the parameter's name. */ public String getName() { return name; } /** * Set the parameter value. * * Note that only string values are supported. No resolution of file * paths is performed. * * @param value the parameter value. */ public void setValue(String value) { this.value = value; } /** * Get the parameter value. * * @return the parameter value. */ public String getValue() { return value;
Clone fragments detected by clone detection tool
File path: /apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/Apt.java File path: /apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/Javadoc.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
public static final class Option {
1
public 
2
        private String
2
class DocletParam {
3
 name;
3
        /** The parameter name */
4
        private String value;
4
        private String name;
5
        /** Constructor for Option */
5
        /** 
6
        public Option() {
7
            //default
8
        }
6
The parameter value */
7
        private String value;
9
        /**
8
        /**
10
         * Get the name attribute.
9
         * Set the name of the parameter.
11
         * @return the name attribu
10
         *
12
te.
11
         * @param name the name of the doclet parameter
13
         */
12
         */
14
        public String getName() {
13
        public void setName(String name) {
15
            return name;
14
            this.name = name;
16
        }
15
        }
17
        /**
16
        /**
18
         * Set the name attribute.
17
         * Get the 
19
         * @param name the name of the option
18
parameter name.
19
         *
20
.
20
         * @return the parameter's name.
21
         */
21
         */
22
        public void setName(String name) {
22
        public String getName() {
23
            this.name = name;
23
            return name;
24
        }
24
        }
25
        /**
25
        /**
26
         * Get the value attribute.
26
         * Set the 
27
         * @return the value attribut
27
parameter value.
28
         *
29
         * Note that only string values are supported. No resolution of file
30
         * paths is performed.
31
         *
28
e.
32
         * @param value the parameter value.
29
         */
33
         */
30
        public String getValue() {
34
        public void setValue(String value) {
31
            return value;
35
            this.value = value;
32
        }
36
        }
33
        /**
37
        /**
34
         * Set the value attribute.
38
         * Get the 
35
         * @param value the value of the option
39
parameter value.
40
         *
36
.
41
         * @return the parameter value.
37
         */
42
         */
38
        public void setValue(String value) {
43
        public String getValue() {
39
            this.value = value;
44
            return value;
40
        
45
        
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