Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
1 | 3 | 2 | 0.962 | statement_sequence_member |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 1 | 328 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/actions/SurroundWithTemplateMenuAction.java |
2 | 1 | 80 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/CorrectionCommandHandler.java |
3 | 1 | 517 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/CorrectionMarkerResolutionGenerator.java |
| ||||
IInvocationContext context = new AssistContext(cu, textSelection.getOffset(), textSelection.getLength()); |
| ||||
AssistContext context = new AssistContext(cu, selection.getOffset(), selection.getLength()); |
| ||||
IInvocationContext context = new AssistContext(cu, location.getOffset(), location.getLength()); |
| |||
[[#variable5d628c60]] context = new AssistContext(cu, [[#variable5d629880]].getOffset(), [[#variable5d629880]].getLength()); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#5d628c60]] | IInvocationContext |
1 | 2 | [[#5d628c60]] | AssistContext |
1 | 3 | [[#5d628c60]] | IInvocationContext |
2 | 1 | [[#5d629880]] | location |
2 | 2 | [[#5d629880]] | selection |
2 | 3 | [[#5d629880]] | textSelection |