Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
10 | 2 | 4 | 0.976 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 10 | 1383 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/problem/ProblemReporter.java |
2 | 10 | 2102 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/problem/ProblemReporter.java |
| ||||
public void duplicateModifierForVariable(LocalDeclaration localDecl, boolean complainForArgument) { String[] arguments = new String[] { new String(localDecl.name) }; this.handle( complainForArgument ? IProblem.DuplicateModifierForArgument: IProblem.DuplicateModifierForVariable, arguments, arguments, localDecl.sourceStart, localDecl.sourceEnd); } |
| ||||
public void illegalModifierForVariable(LocalDeclaration localDecl, boolean complainAsArgument) { String[] arguments = new String[] { new String(localDecl.name) }; this.handle( complainAsArgument ? IProblem.IllegalModifierForArgument: IProblem.IllegalModifierForVariable, arguments, arguments, localDecl.sourceStart, localDecl.sourceEnd); } |
| |||
public void [[#variableb3b51b00]](LocalDeclaration localDecl, boolean [[#variableb3b51a40]]) { String[] arguments = new String[] { new String(localDecl.name) }; this.handle( [[#variableb3b51a40]]? IProblem. [[#variableb3b519e0]]: IProblem. [[#variableb3b51980]], arguments, arguments, localDecl.sourceStart, localDecl.sourceEnd); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#b3b51b00]] | duplicateModifierForVariable |
1 | 2 | [[#b3b51b00]] | illegalModifierForVariable |
2 | 1 | [[#b3b51a40]] | complainForArgument |
2 | 2 | [[#b3b51a40]] | complainAsArgument |
3 | 1 | [[#b3b519e0]] | DuplicateModifierForArgument |
3 | 2 | [[#b3b519e0]] | IllegalModifierForArgument |
4 | 1 | [[#b3b51980]] | DuplicateModifierForVariable |
4 | 2 | [[#b3b51980]] | IllegalModifierForVariable |