Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
3 | 2 | 3 | 0.974 | statement_sequence[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 3 | 397 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/AdvancedQuickAssistProcessor.java |
2 | 3 | 1139 | 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); |
| ||||
ListRewrite listRewriter = rewrite.getListRewrite(sourceBlock, (ChildListPropertyDescriptor) statement.getLocationInParent()); listRewriter.replace(ifStatement, firstIf, null); |
| |||
// if there was block, replace ListRewrite listRewriter = rewrite.getListRewrite( [[#variable5fff8280]], (ChildListPropertyDescriptor) [[#variable5fff8220]].getLocationInParent()); listRewriter.replace(ifStatement, [[#variable5fff8240]], null); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#5fff8280]] | sourceBlock |
1 | 2 | [[#5fff8280]] | ifParentBlock |
2 | 1 | [[#5fff8220]] | statement |
2 | 2 | [[#5fff8220]] | ifStatement |
3 | 1 | [[#5fff8240]] | firstIf |
3 | 2 | [[#5fff8240]] | newIf |