CloneSet8443


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
2210.976statement_sequence[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
121442
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/AdvancedQuickAssistProcessor.java
22111
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/AssignToVariableAssistProposal.java
Clone Instance
1
Line Count
2
Source Line
1442
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/AdvancedQuickAssistProcessor.java

                // prepare new variable declaration
                VariableDeclarationFragment vdf = ast.newVariableDeclarationFragment();
                vdf.setName(ast.newSimpleName(varNames[0]));


Clone Instance
2
Line Count
2
Source Line
111
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/AssignToVariableAssistProposal.java

                VariableDeclarationFragment newDeclFrag = ast.newVariableDeclarationFragment();
                newDeclFrag.setName(ast.newSimpleName(varNames[0]));


Clone AbstractionParameter Count: 1Parameter Bindings

// prepare new variable declaration
VariableDeclarationFragment  [[#variableb9d47ba0]]= ast.newVariableDeclarationFragment();
 [[#variableb9d47ba0]].setName(ast.newSimpleName(varNames[0]));
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#b9d47ba0]]
newDeclFrag 
12[[#b9d47ba0]]
vdf