Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
7 | 2 | 3 | 0.985 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 7 | 904 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/problem/ProblemReporter.java |
2 | 7 | 1487 | 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)); } |
| ||||
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)); } |
| |||
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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#990586c0]] | cannotUseQualifiedEnumConstantInCaseLabel |
1 | 2 | [[#990586c0]] | enumSwitchCannotTargetField |
2 | 1 | [[#b682e300]] | location |
2 | 2 | [[#b682e300]] | reference |
3 | 1 | [[#99058720]] | IllegalQualifiedEnumConstantLabel |
3 | 2 | [[#99058720]] | EnumSwitchCannotTargetField |