CloneSet1830


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
9250.971statement_sequence[5]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
191100
plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/CompletionEngine.java
291114
plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/CompletionEngine.java
Clone Instance
1
Line Count
9
Source Line
1100
Source File
plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/CompletionEngine.java

                                FieldBinding[] fields = scope.enclosingSourceType().fields();
                                char[][] excludeNames = new char[fields.length][];
                                for (int i = 0; i < fields.length;  i++) {
                                        excludeNames[i] = fields[i].name;
                                }

                                this.completionToken = method.selector;

                                findVariableNames(this.completionToken, method.returnType, excludeNames, FIELD, method.modifiers);


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

                                FieldBinding[] fields = scope.enclosingSourceType().fields();
                                char[][] excludeNames = new char[fields.length][];
                                for (int i = 0; i < fields.length;  i++) {
                                        excludeNames[i] = fields[i].name;
                                }

                                this.completionToken = field.realName;

                                findVariableNames(field.realName, field.type, excludeNames, FIELD, field.modifiers);


Clone AbstractionParameter Count: 5Parameter Bindings

FieldBinding[] fields = scope.enclosingSourceType().fields();
char[][] excludeNames = new char[fields.length][];
for (int i = 0; i < fields.length; i++) {
  excludeNames[i] = fields[i].name;
}
this.completionToken = [[#variable9722ee40]]. [[#variable9722ede0]];
findVariableNames( [[#variable5a6a7800]]. [[#variable5a6a7700]],  [[#variable9722ee40]]. [[#variable9722ed60]], excludeNames, FIELD,  [[#variable9722ee40]].modifiers);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#9722ee40]]
field 
12[[#9722ee40]]
method 
21[[#9722ede0]]
realName 
22[[#9722ede0]]
selector 
31[[#5a6a7800]]
field 
32[[#5a6a7800]]
this 
41[[#5a6a7700]]
realName 
42[[#5a6a7700]]
completionToken 
51[[#9722ed60]]
type 
52[[#9722ed60]]
returnType