CloneSet5750


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5220.984statement_sequence_member
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
15100
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/SelectionListenerWithASTManager.java
25111
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/SelectionListenerWithASTManager.java
Clone Instance
1
Line Count
5
Source Line
100
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/SelectionListenerWithASTManager.java

                        if (isEmpty()) {
                                fPart.getEditorSite().getPage().addPostSelectionListener(fPostSelectionListener);
                                ISelectionProvider selectionProvider = fPart.getSelectionProvider();
                                if (selectionProvider != null)
                                                selectionProvider.addSelectionChangedListener(fSelectionListener);
                        }


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

                        if (isEmpty()) {
                                fPart.getEditorSite().getPage().removePostSelectionListener(fPostSelectionListener);
                                ISelectionProvider selectionProvider = fPart.getSelectionProvider();
                                if (selectionProvider != null)
                                        selectionProvider.removeSelectionChangedListener(fSelectionListener);
                        }


Clone AbstractionParameter Count: 2Parameter Bindings

if (isEmpty()) {
  fPart.getEditorSite().getPage(). [[#variable94288ae0]](fPostSelectionListener);
  ISelectionProvider selectionProvider = fPart.getSelectionProvider();
  if (selectionProvider != null)
    selectionProvider. [[#variable94288a40]](fSelectionListener);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#94288ae0]]
addPostSelectionListener 
12[[#94288ae0]]
removePostSelectionListener 
21[[#94288a40]]
addSelectionChangedListener 
22[[#94288a40]]
removeSelectionChangedListener