Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
6 | 2 | 1 | 0.967 | statement_sequence[4] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 6 | 93 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/util/OpenTypeHierarchyUtil.java |
2 | 6 | 122 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/util/OpenTypeHierarchyUtil.java |
| ||||
TypeHierarchyViewPart result = (TypeHierarchyViewPart) page.findView(JavaUI.ID_TYPE_HIERARCHY); if (result != null) { result.clearNeededRefresh(); // avoid refresh of old hierarchy on 'becomes visible' } result = (TypeHierarchyViewPart) page.showView(JavaUI.ID_TYPE_HIERARCHY); result.setInputElement(input); |
| ||||
TypeHierarchyViewPart part = (TypeHierarchyViewPart) page.findView(JavaUI.ID_TYPE_HIERARCHY); if (part != null) { part.clearNeededRefresh(); // avoid refresh of old hierarchy on 'becomes visible' } part = (TypeHierarchyViewPart) page.showView(JavaUI.ID_TYPE_HIERARCHY); part.setInputElement(input); |
| |||
TypeHierarchyViewPart [[#variablea1972060]]= (TypeHierarchyViewPart) page.findView(JavaUI.ID_TYPE_HIERARCHY); if ( [[#variablea1972060]]!= null) { [[#variablea1972060]].clearNeededRefresh(); // avoid refresh of old hierarchy on 'becomes visible' } [[#variablea1972060]]= (TypeHierarchyViewPart) page.showView(JavaUI.ID_TYPE_HIERARCHY); [[#variablea1972060]].setInputElement(input); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#a1972060]] | result |
1 | 2 | [[#a1972060]] | part |