CloneSet1985


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
15201.000statement_sequence[4]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
115465
plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/CompletionEngine.java
215504
plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/CompletionEngine.java
Clone Instance
1
Line Count
15
Source Line
465
Source File
plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/CompletionEngine.java

                                                        ImportBinding importBinding = this.onDemandImportsCache[j];

                                                        char[][] importName = importBinding.compoundName;
                                                        char[] importFlatName = CharOperation.concatWith(importName, '.');

                                                        if (fullyQualifiedEnclosingTypeOrPackageName == null) {
                                                                if (enclosingTypeNames != null && enclosingTypeNames.length != 0) {
                                                                        fullyQualifiedEnclosingTypeOrPackageName =
                                                                                CharOperation.concat(
                                                                                                packageName, 
                                                                                                flatEnclosingTypeNames, 
                                                                                                '.' );
                                                                }
                                                                else   {
                                                                        fullyQualifiedEnclosingTypeOrPackageName =
                                                                                packageName;
                                                                }
                                                        }


Clone Instance
2
Line Count
15
Source Line
504
Source File
plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/CompletionEngine.java

                                                        ImportBinding importBinding = this.onDemandImportsCache[j];

                                                        char[][] importName = importBinding.compoundName;
                                                        char[] importFlatName = CharOperation.concatWith(importName, '.');

                                                        if (fullyQualifiedEnclosingTypeOrPackageName == null) {
                                                                if (enclosingTypeNames != null && enclosingTypeNames.length != 0) {
                                                                        fullyQualifiedEnclosingTypeOrPackageName =
                                                                                CharOperation.concat(
                                                                                                packageName, 
                                                                                                flatEnclosingTypeNames, 
                                                                                                '.' );
                                                                }
                                                                else   {
                                                                        fullyQualifiedEnclosingTypeOrPackageName =
                                                                                packageName;
                                                                }
                                                        }


Clone AbstractionParameter Count: 0Parameter Bindings

ImportBinding importBinding = this.onDemandImportsCache[j];
char[][] importName = importBinding.compoundName;
char[] importFlatName = CharOperation.concatWith(importName, '.');
if (fullyQualifiedEnclosingTypeOrPackageName == null) {
  if (enclosingTypeNames != null && enclosingTypeNames.length != 0) {
    fullyQualifiedEnclosingTypeOrPackageName = CharOperation.concat(packageName, flatEnclosingTypeNames, '.');
  }
  else {
    fullyQualifiedEnclosingTypeOrPackageName = packageName;
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None