CloneSet1262


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
16240.984switch_group
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
116899
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/compiler/parser/SourceTypeConverter.java
216915
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/compiler/parser/SourceTypeConverter.java
Clone Instance
1
Line Count
16
Source Line
899
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/compiler/parser/SourceTypeConverter.java

                                                case 's':
                                                        checkSuper: {
                                                                int max = TypeConstants.WILDCARD_SUPER.length - 1;
                                                                for (int ahead = 1; ahead < max; ahead++) {
                                                                        if (typeName[this.namePos + ahead] != TypeConstants.WILDCARD_SUPER[ahead + 1]) {
                                                                                break checkSuper;
                                                                        }
                                                                }
                                                                this.namePos += max;
                                                                Wildcard result = new Wildcard(Wildcard.SUPER);
                                                                result.bound = decodeType(typeName, length, start, end);
                                                                result.sourceStart = start;
                                                                result.sourceEnd = end;
                                                                return result;
                                                        }
                                                        break;


Clone Instance
2
Line Count
16
Source Line
915
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/compiler/parser/SourceTypeConverter.java

                                                case 'e':
                                                        checkExtends: {
                                                                int max = TypeConstants.WILDCARD_EXTENDS.length - 1;
                                                                for (int ahead = 1; ahead < max; ahead++) {
                                                                        if (typeName[this.namePos + ahead] != TypeConstants.WILDCARD_EXTENDS[ahead + 1]) {
                                                                                break checkExtends;
                                                                        }
                                                                }
                                                                this.namePos += max;
                                                                Wildcard result = new Wildcard(Wildcard.EXTENDS);
                                                                result.bound = decodeType(typeName, length, start, end);
                                                                result.sourceStart = start;
                                                                result.sourceEnd = end;
                                                                return result;
                                                        }
                                                        break;


Clone AbstractionParameter Count: 4Parameter Bindings

case [[#variable99b128c0]]:
   [[#variable99b12820]]: {
    int max = TypeConstants. [[#variable99b127a0]].length - 1;
    for (int ahead = 1; ahead < max; ahead++) {
      if (typeName[this.namePos + ahead] != TypeConstants. [[#variable99b127a0]][ahead + 1]) {
        break [[#variable99b12820]];
      }
    }
    this.namePos += max;
    Wildcard result = new Wildcard(Wildcard. [[#variable99b126a0]]);
    result.bound = decodeType(typeName, length, start, end);
    result.sourceStart = start;
    result.sourceEnd = end;
    return result;
  }
  break;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#99b128c0]]
's' 
12[[#99b128c0]]
'e' 
21[[#99b12820]]
checkSuper 
22[[#99b12820]]
checkExtends 
31[[#99b127a0]]
WILDCARD_SUPER 
32[[#99b127a0]]
WILDCARD_EXTENDS 
41[[#99b126a0]]
SUPER 
42[[#99b126a0]]
EXTENDS