CloneSet5993


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
7201.000class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1789
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/SubTypeHierarchyViewer.java
27168
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TraditionalHierarchyViewer.java
Clone Instance
1
Line Count
7
Source Line
89
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/SubTypeHierarchyViewer.java

                protected IType getParentType(IType type) {
                        ITypeHierarchy hierarchy = getHierarchy();
                        if (hierarchy != null) {
                                return hierarchy.getSuperclass(type);
                                // dont handle interfaces
                        }
                        return null;
                }


Clone Instance
2
Line Count
7
Source Line
168
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TraditionalHierarchyViewer.java

                protected IType getParentType(IType type) {
                        ITypeHierarchy hierarchy = getHierarchy();
                        if (hierarchy != null) {
                                return hierarchy.getSuperclass(type);
                                // don't handle interfaces
                        }
                        return null;
                }


Clone AbstractionParameter Count: 0Parameter Bindings

protected IType getParentType(IType type) {
  ITypeHierarchy hierarchy = getHierarchy();
  if (hierarchy != null) {
    return hierarchy.getSuperclass(type);
  // don't handle interfaces
  // dont handle interfaces
  }
  return null;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None