Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
8 | 2 | 3 | 0.959 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 10 | 877 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/callhierarchy/CallHierarchyViewPart.java |
2 | 8 | 357 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java |
| ||||
private void updateHistoryEntries() { for (int i = fMethodHistory.size() - 1; i >= 0; i--) { IMethod method = (IMethod) fMethodHistory.get(i); if ( !method.exists()) { fMethodHistory.remove(i); } } fHistoryDropDownAction.setEnabled( !fMethodHistory.isEmpty()); } |
| ||||
private void updateHistoryEntries() { for (int i = fInputHistory.size() - 1; i >= 0; i--) { IJavaElement type = (IJavaElement) fInputHistory.get(i); if ( !type.exists()) { fInputHistory.remove(i); } } fHistoryDropDownAction.setEnabled( !fInputHistory.isEmpty()); } |
| |||
private void updateHistoryEntries() { for (int i = [[#variable5a4858e0]].size() - 1; i >= 0; i--) { [[#variable5a485880]] [[#variable5a485820]]= ( [[#variable5a485880]]) [[#variable5a4858e0]].get(i); if ( ! [[#variable5a485820]].exists()) { [[#variable5a4858e0]].remove(i); } } fHistoryDropDownAction.setEnabled( ! [[#variable5a4858e0]].isEmpty()); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#5a4858e0]] | fInputHistory |
1 | 2 | [[#5a4858e0]] | fMethodHistory |
2 | 1 | [[#5a485880]] | IJavaElement |
2 | 2 | [[#5a485880]] | IMethod |
3 | 1 | [[#5a485820]] | type |
3 | 2 | [[#5a485820]] | method |