CloneSet4687


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
6210.967statement_sequence[4]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1693
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/util/OpenTypeHierarchyUtil.java
26122
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/util/OpenTypeHierarchyUtil.java
Clone Instance
1
Line Count
6
Source Line
93
Source File
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);


Clone Instance
2
Line Count
6
Source Line
122
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/util/OpenTypeHierarchyUtil.java

                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);


Clone AbstractionParameter Count: 1Parameter Bindings

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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#a1972060]]
result 
12[[#a1972060]]
part