CloneSet7614


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
4220.968class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
14406
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/JavaLogicalStructuresPreferencePage.java
2479
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/SelectionListenerWithASTManager.java
Clone Instance
1
Line Count
4
Source Line
406
Source File
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/JavaLogicalStructuresPreferencePage.java

        /* (non-Javadoc)
         * @see org.eclipse.jface.viewers.ISelectionChangedListener#selectionChanged(org.eclipse.jface.viewers.SelectionChangedEvent)
         */
        public void selectionChanged(SelectionChangedEvent event) {
                ISelection selection = event.getSelection();
                if (selection instanceof IStructuredSelection) {
                        selectionChanged((IStructuredSelection) selection);
                }
        }


Clone Instance
2
Line Count
4
Source Line
79
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/SelectionListenerWithASTManager.java

                                public void selectionChanged(SelectionChangedEvent event) {
                                        ISelection selection = event.getSelection();
                                        if (selection instanceof ITextSelection) {
                                                fireSelectionChanged((ITextSelection) selection);
                                        }
                                }


Clone AbstractionParameter Count: 2Parameter Bindings

/* (non-Javadoc)
         * @see org.eclipse.jface.viewers.ISelectionChangedListener#selectionChanged(org.eclipse.jface.viewers.SelectionChangedEvent)
         */
public void selectionChanged(SelectionChangedEvent event) {
  ISelection selection = event.getSelection();
  if (selection instanceof [[#variable5a39f040]]) {
     [[#variable5a39efe0]](( [[#variable5a39f040]]) selection);
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#5a39f040]]
ITextSelection 
12[[#5a39f040]]
IStructuredSelection 
21[[#5a39efe0]]
fireSelectionChanged 
22[[#5a39efe0]]
selectionChanged