Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
25 | 2 | 2 | 0.973 | class_body_declarations[4] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 25 | 85 | E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/optional/javacc/JJDoc.java |
2 | 25 | 175 | E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/optional/javacc/JJTree.java |
| |||||
/** * The outputfile to write the generated BNF documentation file to. * If not set, the file is written with the same name as * the JavaCC grammar file with a suffix .html or .txt. * @param outputFile the name of the output file. */ 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")); } |
| |||||
/** * The outputfile to write the generated JavaCC grammar file to. * If not set, the file is written with the same name as * the JJTree grammar file with a suffix .jj. * @param outputFile the output file name. */ 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")); } |
| |||
/** * The outputfile to write the generated JavaCC grammar file to. * If not set, the file is written with the same name as * the JJTree grammar file with a suffix .jj. * @param outputFile the output file name. */ /** * The outputfile to write the generated BNF documentation file to. * If not set, the file is written with the same name as * the JavaCC grammar file with a suffix .html or .txt. * @param outputFile the name of the output file. */ public void setOutputfile(String outputFile) { this.outputFile = outputFile; } /** * The jjtree grammar file to process. * @param targetFile the grammar file. */ /** * The javacc grammar file to process. * @param target the grammar file. */ public void setTarget(File [[#variable1011dfe0]]) { this.targetFile = [[#variable1011dfe0]]; } /** * The directory containing the JavaCC distribution. * @param javaccHome the directory containing JavaCC. */ /** * The directory containing the JavaCC distribution. * @param javaccHome the home directory. */ public void setJavacchome(File javaccHome) { this.javaccHome = javaccHome; } /** * Constructor */ public [[#variable1011dfc0]]() { cmdl.setVm(JavaEnvUtils.getJreExecutable("java")); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#1011dfe0]] | target |
1 | 2 | [[#1011dfe0]] | targetFile |
2 | 1 | [[#1011dfc0]] | JJDoc |
2 | 2 | [[#1011dfc0]] | JJTree |