CloneSet2202


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
7260.958class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
171249
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/problem/ProblemReporter.java
271366
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/problem/ProblemReporter.java
Clone Instance
1
Line Count
7
Source Line
1249
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/problem/ProblemReporter.java

public void duplicateFieldInType(SourceTypeBinding type, FieldDeclaration fieldDecl) {
        this.handle(
                IProblem.DuplicateField, 
                new String[] {
                              new String(type.sourceName()), new String(fieldDecl.name)
                             }, new String[] {
                                              new String(type.shortReadableName()), new String(fieldDecl.name)
                                             }, fieldDecl.sourceStart, fieldDecl.sourceEnd);
}


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

public void duplicateModifierForMethod(ReferenceBinding type, AbstractMethodDeclaration methodDecl) {
        this.handle(
                IProblem.DuplicateModifierForMethod, 
                new String[] {
                              new String(type.sourceName()), new String(methodDecl.selector)
                             }, new String[] {
                                              new String(type.shortReadableName()), new String(methodDecl.selector)
                                             }, methodDecl.sourceStart, methodDecl.sourceEnd);
}


Clone AbstractionParameter Count: 6Parameter Bindings

public void [[#variable96162640]]( [[#variable96162580]] type, [[#variable96162540]]  [[#variable96162400]]) {
  this.handle(IProblem. [[#variable961623e0]], new String[] {
                                                              new String(type.sourceName()),
                                                              new String( [[#variable96162400]]. [[#variable96162460]])
                                                            }, new String[] {
                                                                              new String(type.shortReadableName()),
                                                                              new String( [[#variable96162400]]. [[#variable96162460]])
                                                                            },  [[#variable96162400]].sourceStart,  [[#variable96162400]].sourceEnd);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#96162640]]
duplicateFieldInType 
12[[#96162640]]
duplicateModifierForMethod 
21[[#96162580]]
SourceTypeBinding 
22[[#96162580]]
ReferenceBinding 
31[[#96162540]]
FieldDeclaration 
32[[#96162540]]
AbstractMethodDeclaration 
41[[#96162400]]
fieldDecl 
42[[#96162400]]
methodDecl 
51[[#961623e0]]
DuplicateField 
52[[#961623e0]]
DuplicateModifierForMethod 
61[[#96162460]]
name 
62[[#96162460]]
selector