Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
10 | 2 | 2 | 0.989 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 11 | 60 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/AbstractMethodDeclaration.java |
2 | 10 | 72 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/TypeDeclaration.java |
| ||||
/* * We cause the compilation task to abort to a given extent. */ public void abort(int abortLevel, CategorizedProblem problem) { switch (abortLevel) { case AbortCompilation: throw new AbortCompilation(this.compilationResult, problem); case AbortCompilationUnit: throw new AbortCompilationUnit(this.compilationResult, problem); case AbortType: throw new AbortType(this.compilationResult, problem); default: throw new AbortMethod(this.compilationResult, problem); } } |
| ||||
/* * We cause the compilation task to abort to a given extent. */ public void abort(int abortLevel, CategorizedProblem problem) { switch (abortLevel) { case AbortCompilation: throw new AbortCompilation(this.compilationResult, problem); case AbortCompilationUnit: throw new AbortCompilationUnit(this.compilationResult, problem); case AbortMethod: throw new AbortMethod(this.compilationResult, problem); default: throw new AbortType(this.compilationResult, problem); } } |
| |||
/* * We cause the compilation task to abort to a given extent. */ /* * We cause the compilation task to abort to a given extent. */ public void abort(int abortLevel, CategorizedProblem problem) { switch (abortLevel) { case AbortCompilation: throw new AbortCompilation(this.compilationResult, problem); case AbortCompilationUnit: throw new AbortCompilationUnit(this.compilationResult, problem); case [[#variable5b8dd540]]: throw new [[#variable5b8dd540]](this.compilationResult, problem); default: throw new [[#variable5b8dd4c0]](this.compilationResult, problem); } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#5b8dd540]] | AbortMethod |
1 | 2 | [[#5b8dd540]] | AbortType |
2 | 1 | [[#5b8dd4c0]] | AbortType |
2 | 2 | [[#5b8dd4c0]] | AbortMethod |