CloneSet1914


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
8210.997statement_sequence[5]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
18184
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/HierarchyInformationControl.java
2878
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyContentProvider.java
Clone Instance
1
Line Count
8
Source Line
184
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/HierarchyInformationControl.java

                IType filterType = filterMethod.getDeclaringType();
                ITypeHierarchy hierarchy = fLifeCycle.getHierarchy();

                boolean filterOverrides = JavaModelUtil.isSuperType(hierarchy, typeToFindIn, filterType);
                IType focusType = filterOverrides ? filterType:  typeToFindIn;

                if (fMethodOverrideTester == null || !fMethodOverrideTester.getFocusType().equals(focusType)) {
                        fMethodOverrideTester = new MethodOverrideTester(focusType, hierarchy);
                }


Clone Instance
2
Line Count
8
Source Line
78
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyContentProvider.java

                IType filterType = filterMethod.getDeclaringType();
                ITypeHierarchy hierarchy = fTypeHierarchy.getHierarchy();

                boolean filterOverrides = JavaModelUtil.isSuperType(hierarchy, typeToFindIn, filterType);
                IType focusType = filterOverrides ? filterType:  typeToFindIn;

                if (fMethodOverrideTester == null || !fMethodOverrideTester.getFocusType().equals(focusType)) {
                        fMethodOverrideTester = new MethodOverrideTester(focusType, hierarchy);
                }


Clone AbstractionParameter Count: 1Parameter Bindings

IType filterType = filterMethod.getDeclaringType();
ITypeHierarchy hierarchy = [[#variable563f0e00]].getHierarchy();
boolean filterOverrides = JavaModelUtil.isSuperType(hierarchy, typeToFindIn, filterType);
IType focusType = filterOverrides ? filterType: typeToFindIn;
if (fMethodOverrideTester == null || !fMethodOverrideTester.getFocusType().equals(focusType)) {
  fMethodOverrideTester = new MethodOverrideTester(focusType, hierarchy);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#563f0e00]]
fTypeHierarchy 
12[[#563f0e00]]
fLifeCycle