CloneSet1219


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
12210.990statement_sequence[5]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
112797
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/ParameterizedTypeBinding.java
212851
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/ParameterizedTypeBinding.java
Clone Instance
1
Line Count
12
Source Line
797
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/ParameterizedTypeBinding.java

                if (this.arguments != null) {
                        nameBuffer.append('<');
                    for (int i = 0, length = this.arguments.length; i < length; i++) {
                        if (i > 0) nameBuffer.append(',');
                        nameBuffer.append(this.arguments[i].readableName());
                    }
                    nameBuffer.append('>');
                }
                int nameLength = nameBuffer.length();
                char[] readableName = new char[nameLength];
                nameBuffer.getChars(0, nameLength, readableName, 0);
            return readableName;


Clone Instance
2
Line Count
12
Source Line
851
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/ParameterizedTypeBinding.java

                if (this.arguments != null) {
                        nameBuffer.append('<');
                    for (int i = 0, length = this.arguments.length; i < length; i++) {
                        if (i > 0) nameBuffer.append(',');
                        nameBuffer.append(this.arguments[i].shortReadableName());
                    }
                    nameBuffer.append('>');
                }
                int nameLength = nameBuffer.length();
                char[] shortReadableName = new char[nameLength];
                nameBuffer.getChars(0, nameLength, shortReadableName, 0);
            return shortReadableName;


Clone AbstractionParameter Count: 1Parameter Bindings

if (this.arguments != null) {
  nameBuffer.append('<');
  for (int i = 0, length = this.arguments.length; i < length; i++) {
    if (i > 0)
      nameBuffer.append(',');
    nameBuffer.append(this.arguments[i]. [[#variableb25a37e0]]());
  }
  nameBuffer.append('>');
}
int nameLength = nameBuffer.length();
char[]  [[#variableb25a37e0]]= new char[nameLength];
nameBuffer.getChars(0, nameLength,  [[#variableb25a37e0]], 0);
return [[#variableb25a37e0]];
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#b25a37e0]]
shortReadableName 
12[[#b25a37e0]]
readableName