CloneSet2880


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
7210.995executable_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
17234
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/AbstractInformationControl.java
27242
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/AbstractInformationControl.java
Clone Instance
1
Line Count
7
Source Line
234
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/AbstractInformationControl.java

                                                                                           {
                                                        // Scroll up
                                                        Point p = tree.toDisplay(e.x, e.y);
                                                        Item item = fTreeViewer.scrollUp(p.x, p.y);
                                                        if (item instanceof TreeItem) {
                                                                fLastItem = (TreeItem) item;
                                                                tree.setSelection(new TreeItem[] {
                                                                                                   fLastItem
                                                                                                 } );
                                                        }
                                                                                           }


Clone Instance
2
Line Count
7
Source Line
242
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/AbstractInformationControl.java

                                                                                                                     {
                                                        // Scroll down
                                                        Point p = tree.toDisplay(e.x, e.y);
                                                        Item item = fTreeViewer.scrollDown(p.x, p.y);
                                                        if (item instanceof TreeItem) {
                                                                fLastItem = (TreeItem) item;
                                                                tree.setSelection(new TreeItem[] {
                                                                                                   fLastItem
                                                                                                 } );
                                                        }
                                                                                                                     }


Clone AbstractionParameter Count: 1Parameter Bindings

{
  // Scroll up
  // Scroll down
  Point p = tree.toDisplay(e.x, e.y);
  Item item = fTreeViewer. [[#variableb95d37a0]](p.x, p.y);
  if (item instanceof TreeItem) {
    fLastItem = (TreeItem) item;
    tree.setSelection(new TreeItem[] {
                                       fLastItem
                                     } );
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#b95d37a0]]
scrollUp 
12[[#b95d37a0]]
scrollDown