CloneSet1570


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
10220.977statement_sequence[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
110188
plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/matching/SuperTypeReferencePattern.java
210209
plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/matching/SuperTypeReferencePattern.java
Clone Instance
1
Line Count
10
Source Line
188
Source File
plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/matching/SuperTypeReferencePattern.java

        start = ++slash;
        if (key[start] == SEPARATOR) {
                this.enclosingTypeName = null;
        }
        else   {
                slash = CharOperation.indexOf(SEPARATOR, key, start);
                if (slash == (start + 1) && key[start] == ZERO_CHAR) {
                        this.enclosingTypeName = ONE_ZERO;
                }
                else   {
                        char[] names = CharOperation.subarray(key, start, slash);
                        this.enclosingTypeName = names;
                }
        }


Clone Instance
2
Line Count
10
Source Line
209
Source File
plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/matching/SuperTypeReferencePattern.java

        start = ++slash;
        if (key[start] == SEPARATOR) {
                this.pkgName = null;
        }
        else   {
                slash = CharOperation.indexOf(SEPARATOR, key, start);
                if (slash == (start + 1) && key[start] == ZERO_CHAR) {
                        this.pkgName = this.superQualification;
                }
                else   {
                        char[] names = CharOperation.subarray(key, start, slash);
                        this.pkgName = names;
                }
        }


Clone AbstractionParameter Count: 2Parameter Bindings

start = ++slash;
if (key[start] == SEPARATOR) {
  this. [[#variableb1ada700]]= null;
}
else {
  slash = CharOperation.indexOf(SEPARATOR, key, start);
  if (slash == (start + 1) && key[start] == ZERO_CHAR) {
    this. [[#variableb1ada700]]= [[#variableb5291a20]];
  }
  else {
    char[] names = CharOperation.subarray(key, start, slash);
    this. [[#variableb1ada700]]= names;
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#b1ada700]]
enclosingTypeName 
12[[#b1ada700]]
pkgName 
21[[#b5291a20]]
ONE_ZERO 
22[[#b5291a20]]
this.superQualification