CloneSet2160


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
12340.977class_body_declarations[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
11229
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/SubTypeHierarchyViewer.java
21229
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/SuperTypeHierarchyViewer.java
31233
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TraditionalHierarchyViewer.java
Clone Instance
1
Line Count
12
Source Line
29
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/SubTypeHierarchyViewer.java

        public SubTypeHierarchyViewer(Composite parent, TypeHierarchyLifeCycle lifeCycle, IWorkbenchPart part) {
                super(parent, new SubTypeHierarchyContentProvider(lifeCycle), lifeCycle, part);
        }

        /*
         * @see TypeHierarchyViewer#getTitle
         */
        public String getTitle() {
                if (isMethodFiltering()) {
                        return TypeHierarchyMessages.SubTypeHierarchyViewer_filtered_title;
                }
                else   {
                        return TypeHierarchyMessages.SubTypeHierarchyViewer_title;
                }
        }


Clone Instance
2
Line Count
12
Source Line
29
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/SuperTypeHierarchyViewer.java

        public SuperTypeHierarchyViewer(Composite parent, TypeHierarchyLifeCycle lifeCycle, IWorkbenchPart part) {
                super(parent, new SuperTypeHierarchyContentProvider(lifeCycle), lifeCycle, part);
        }

        /*
         * @see TypeHierarchyViewer#getTitle
         */
        public String getTitle() {
                if (isMethodFiltering()) {
                        return TypeHierarchyMessages.SuperTypeHierarchyViewer_filtered_title;
                }
                else   {
                        return TypeHierarchyMessages.SuperTypeHierarchyViewer_title;
                }
        }


Clone Instance
3
Line Count
12
Source Line
33
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TraditionalHierarchyViewer.java

        public TraditionalHierarchyViewer(Composite parent, TypeHierarchyLifeCycle lifeCycle, IWorkbenchPart part) {
                super(parent, new TraditionalHierarchyContentProvider(lifeCycle), lifeCycle, part);
        }

        /*
         * @see TypeHierarchyViewer#getTitle
         */
        public String getTitle() {
                if (isMethodFiltering()) {
                        return TypeHierarchyMessages.TraditionalHierarchyViewer_filtered_title;
                }
                else   {
                        return TypeHierarchyMessages.TraditionalHierarchyViewer_title;
                }
        }


Clone AbstractionParameter Count: 4Parameter Bindings

public [[#variableb88b34a0]](Composite parent, TypeHierarchyLifeCycle lifeCycle, IWorkbenchPart part) {
  super(parent, new [[#variableb88b3300]](lifeCycle), lifeCycle, part);
}

/*
         * @see TypeHierarchyViewer#getTitle
         */
public String getTitle() {
  if (isMethodFiltering()) {
    return TypeHierarchyMessages. [[#variableb88b32c0]];
  }
  else {
    return TypeHierarchyMessages. [[#variableb88b3320]];
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#b88b34a0]]
SubTypeHierarchyViewer 
12[[#b88b34a0]]
SuperTypeHierarchyViewer 
13[[#b88b34a0]]
TraditionalHierarchyViewer 
21[[#b88b3300]]
SubTypeHierarchyContentProvider 
22[[#b88b3300]]
SuperTypeHierarchyContentProvider 
23[[#b88b3300]]
TraditionalHierarchyContentProvider 
31[[#b88b32c0]]
SubTypeHierarchyViewer_filtered_title 
32[[#b88b32c0]]
SuperTypeHierarchyViewer_filtered_title 
33[[#b88b32c0]]
TraditionalHierarchyViewer_filtered_title 
41[[#b88b3320]]
SubTypeHierarchyViewer_title 
42[[#b88b3320]]
SuperTypeHierarchyViewer_title 
43[[#b88b3320]]
TraditionalHierarchyViewer_title