CloneSet663


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


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

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


Clone Instance
3
Line Count
11
Source Line
5510
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/problem/ProblemReporter.java

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


Clone AbstractionParameter Count: 2Parameter Bindings

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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#99e4dfa0]]
cannotExtendEnum 
12[[#99e4dfa0]]
classExtendFinalClass 
13[[#99e4dfa0]]
superTypeCannotUseWildcard 
21[[#99e4dee0]]
CannotExtendEnum 
22[[#99e4dee0]]
ClassExtendFinalClass 
23[[#99e4dee0]]
SuperTypeUsingWildcard