CloneSet4067


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

                                proposal.setSignature(
                                                createMethodSignature(
                                                                CharOperation.NO_CHAR_CHAR, 
                                                                CharOperation.NO_CHAR_CHAR, 
                                                                CharOperation.NO_CHAR, 
                                                                CharOperation.NO_CHAR));
                                //proposal.setOriginalSignature(null);
                                //proposal.setUniqueKey(null);
                                proposal.setDeclarationPackageName(currentType.qualifiedPackageName());
                                proposal.setDeclarationTypeName(currentType.qualifiedSourceName());
                                //proposal.setParameterPackageNames(null);
                                //proposal.setParameterTypeNames(null);
                                //proposal.setPackageName(null);
                                //proposal.setTypeName(null);
                                proposal.setCompletion(completion);


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

                        proposal.setSignature(
                                        createMethodSignature(
                                                        CharOperation.NO_CHAR_CHAR, 
                                                        CharOperation.NO_CHAR_CHAR, 
                                                        CharOperation.NO_CHAR, 
                                                        VOID ));
                        proposal.setDeclarationPackageName(reference.qualifiedPackageName());
                        proposal.setDeclarationTypeName(reference.qualifiedSourceName());

                        //proposal.setPackageName(null);
                        proposal.setTypeName(VOID);


Clone AbstractionParameter Count: 4Parameter Bindings

proposal.setSignature(createMethodSignature(CharOperation.NO_CHAR_CHAR, CharOperation.NO_CHAR_CHAR, CharOperation.NO_CHAR,  [[#variable543ecec0]]));
//proposal.setOriginalSignature(null);
//proposal.setUniqueKey(null);
proposal.setDeclarationPackageName( [[#variable543ec580]].qualifiedPackageName());
proposal.setDeclarationTypeName( [[#variable543ec580]].qualifiedSourceName());
//proposal.setParameterPackageNames(null);
//proposal.setParameterTypeNames(null);
//proposal.setPackageName(null);
//proposal.setTypeName(null);
proposal. [[#variable543ec540]]( [[#variable543ec520]]);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#543ecec0]]
VOID 
12[[#543ecec0]]
CharOperation.NO_CHAR 
21[[#543ec580]]
reference 
22[[#543ec580]]
currentType 
31[[#543ec540]]
setTypeName 
32[[#543ec540]]
setCompletion 
41[[#543ec520]]
VOID 
42[[#543ec520]]
completion