public void setOutputfile(String outputFile) { this.outputFile = outputFile; } /** * The javacc grammar file to process. * @param target the grammar file. */ public void setTarget(File target) { this.targetFile = target; } /** * The directory containing the JavaCC distribution. * @param javaccHome the home directory. */ public void setJavacchome(File javaccHome) { this.javaccHome = javaccHome; } /** * Constructor */ public JJDoc() { cmdl.setVm(JavaEnvUtils.getJreExecutable("java"));
public void setOutputfile(String outputFile) { this.outputFile = outputFile; } /** * The jjtree grammar file to process. * @param targetFile the grammar file. */ public void setTarget(File targetFile) { this.targetFile = targetFile; } /** * The directory containing the JavaCC distribution. * @param javaccHome the directory containing JavaCC. */ public void setJavacchome(File javaccHome) { this.javaccHome = javaccHome; } /** * Constructor */ public JJTree() { cmdl.setVm(JavaEnvUtils.getJreExecutable("java"));
Clone fragments detected by clone detection tool
File path: /apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/optional/javacc/JJDoc.java File path: /apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/optional/javacc/JJTree.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
public void setOutputfile(String outputFile) {
1
public void setOutputfile(String outputFile) {
2
        this.outputFile = outputFile;
2
        this.outputFile = outputFile;
3
    }
3
    }
4
    /**
4
    /**
5
     * The javacc grammar file to process.
5
     * The jjtree grammar file to process.
6
     * @param target the grammar file.
6
     * @param targetFile the grammar file.
7
     */
7
     */
8
    public void setTarget(File target) {
8
    public void setTarget(File targetFile) {
9
        this.targetFile = target;
9
        this.targetFile = targetFile;
10
    }
10
    }
11
    /**
11
    /**
12
     * The directory containing the JavaCC distribution.
12
     * The directory containing the JavaCC distribution.
13
     * @param javaccHome the home directory.
13
     * @param javaccHome the directory containing JavaCC.
14
     */
14
     */
15
    public void setJavacchome(File javaccHome) {
15
    public void setJavacchome(File javaccHome) {
16
        this.javaccHome = javaccHome;
16
        this.javaccHome = javaccHome;
17
    }
17
    }
18
    /**
18
    /**
19
     * Constructor
19
     * Constructor
20
     */
20
     */
21
    public JJDoc() {
21
    public JJTree() {
22
        cmdl.setVm(JavaEnvUtils.getJreExecutable("java"));
22
        cmdl.setVm(JavaEnvUtils.getJreExecutable("java"));
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