CloneSet1520


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

public void cannotUseQualifiedEnumConstantInCaseLabel(Reference location, FieldBinding field) {
        this.handle(
                        IProblem.IllegalQualifiedEnumConstantLabel, 
                        new String[] {
                                       String.valueOf(field.declaringClass.readableName()), String.valueOf(field.name)
                                     }, new String[] {
                                                       String.valueOf(field.declaringClass.shortReadableName()), String.valueOf(field.name)
                                                     }, nodeSourceStart(field, location), nodeSourceEnd(field, location));
}


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

public void enumSwitchCannotTargetField(Reference reference, FieldBinding field) {
        this.handle(
                        IProblem.EnumSwitchCannotTargetField, 
                        new String[] {
                                       String.valueOf(field.declaringClass.readableName()), String.valueOf(field.name)
                                     }, new String[] {
                                                       String.valueOf(field.declaringClass.shortReadableName()), String.valueOf(field.name)
                                                     }, nodeSourceStart(field, reference), nodeSourceEnd(field, reference));
}


Clone AbstractionParameter Count: 3Parameter Bindings

public void [[#variable990586c0]](Reference  [[#variableb682e300]], FieldBinding field) {
  this.handle(IProblem. [[#variable99058720]], new String[] {
                                                              String.valueOf(field.declaringClass.readableName()),
                                                              String.valueOf(field.name)
                                                            }, new String[] {
                                                                              String.valueOf(field.declaringClass.shortReadableName()),
                                                                              String.valueOf(field.name)
                                                                            }, nodeSourceStart(field,  [[#variableb682e300]]), nodeSourceEnd(field,  [[#variableb682e300]]));
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#990586c0]]
cannotUseQualifiedEnumConstantInCaseLabel 
12[[#990586c0]]
enumSwitchCannotTargetField 
21[[#b682e300]]
location 
22[[#b682e300]]
reference 
31[[#99058720]]
IllegalQualifiedEnumConstantLabel 
32[[#99058720]]
EnumSwitchCannotTargetField