CloneSet3041


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
10240.976class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1101383
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/problem/ProblemReporter.java
2102102
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/problem/ProblemReporter.java
Clone Instance
1
Line Count
10
Source Line
1383
Source File
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);
}


Clone Instance
2
Line Count
10
Source Line
2102
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/problem/ProblemReporter.java

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);
}


Clone AbstractionParameter Count: 4Parameter Bindings

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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#b3b51b00]]
duplicateModifierForVariable 
12[[#b3b51b00]]
illegalModifierForVariable 
21[[#b3b51a40]]
complainForArgument 
22[[#b3b51a40]]
complainAsArgument 
31[[#b3b519e0]]
DuplicateModifierForArgument 
32[[#b3b519e0]]
IllegalModifierForArgument 
41[[#b3b51980]]
DuplicateModifierForVariable 
42[[#b3b51980]]
IllegalModifierForVariable