Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
11 | 3 | 2 | 0.995 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 11 | 799 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/problem/ProblemReporter.java |
2 | 11 | 937 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/problem/ProblemReporter.java |
3 | 11 | 5510 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/problem/ProblemReporter.java |
| ||||
public void cannotExtendEnum(SourceTypeBinding type, TypeReference superclass, TypeBinding superTypeBinding) { String name = new String(type.sourceName()); String superTypeFullName = new String(superTypeBinding.readableName()); String superTypeShortName = new String(superTypeBinding.shortReadableName()); if (superTypeShortName.equals(name)) superTypeShortName = superTypeFullName; this.handle( IProblem.CannotExtendEnum, new String[] { superTypeFullName, name }, new String[] { superTypeShortName, name }, superclass.sourceStart, superclass.sourceEnd); } |
| ||||
public void classExtendFinalClass(SourceTypeBinding type, TypeReference superclass, TypeBinding superTypeBinding) { String name = new String(type.sourceName()); String superTypeFullName = new String(superTypeBinding.readableName()); String superTypeShortName = new String(superTypeBinding.shortReadableName()); if (superTypeShortName.equals(name)) superTypeShortName = superTypeFullName; this.handle( IProblem.ClassExtendFinalClass, new String[] { superTypeFullName, name }, new String[] { superTypeShortName, name }, superclass.sourceStart, superclass.sourceEnd); } |
| ||||
public void superTypeCannotUseWildcard(SourceTypeBinding type, TypeReference superclass, TypeBinding superTypeBinding) { String name = new String(type.sourceName()); String superTypeFullName = new String(superTypeBinding.readableName()); String superTypeShortName = new String(superTypeBinding.shortReadableName()); if (superTypeShortName.equals(name)) superTypeShortName = superTypeFullName; this.handle( IProblem.SuperTypeUsingWildcard, new String[] { superTypeFullName, name }, new String[] { superTypeShortName, name }, superclass.sourceStart, superclass.sourceEnd); } |
| |||
public void [[#variable99e4dfa0]](SourceTypeBinding type, TypeReference superclass, TypeBinding superTypeBinding) { String name = new String(type.sourceName()); String superTypeFullName = new String(superTypeBinding.readableName()); String superTypeShortName = new String(superTypeBinding.shortReadableName()); if (superTypeShortName.equals(name)) superTypeShortName = superTypeFullName; this.handle(IProblem. [[#variable99e4dee0]], new String[] { superTypeFullName, name }, new String[] { superTypeShortName, name }, superclass.sourceStart, superclass.sourceEnd); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#99e4dfa0]] | cannotExtendEnum |
1 | 2 | [[#99e4dfa0]] | classExtendFinalClass |
1 | 3 | [[#99e4dfa0]] | superTypeCannotUseWildcard |
2 | 1 | [[#99e4dee0]] | CannotExtendEnum |
2 | 2 | [[#99e4dee0]] | ClassExtendFinalClass |
2 | 3 | [[#99e4dee0]] | SuperTypeUsingWildcard |