CloneSet6373


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

                        // if there was block, replace
                        ListRewrite listRewriter = rewrite.getListRewrite(ifParentBlock, 
                                (ChildListPropertyDescriptor) ifStatement.getLocationInParent());
                        listRewriter.replace(ifStatement, newIf, null);


Clone Instance
2
Line Count
3
Source Line
1139
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/AdvancedQuickAssistProcessor.java

                ListRewrite listRewriter = rewrite.getListRewrite(sourceBlock, 
                        (ChildListPropertyDescriptor) statement.getLocationInParent());
                listRewriter.replace(ifStatement, firstIf, null);


Clone AbstractionParameter Count: 3Parameter Bindings

// if there was block, replace
ListRewrite listRewriter = rewrite.getListRewrite( [[#variable5fff8280]], (ChildListPropertyDescriptor)  [[#variable5fff8220]].getLocationInParent());
listRewriter.replace(ifStatement,  [[#variable5fff8240]], null);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#5fff8280]]
sourceBlock 
12[[#5fff8280]]
ifParentBlock 
21[[#5fff8220]]
statement 
22[[#5fff8220]]
ifStatement 
31[[#5fff8240]]
firstIf 
32[[#5fff8240]]
newIf