CloneSet2815


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
11260.973class_body_declarations[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
111180
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/ImplementorsSearchGroup.java
211183
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/OccurrencesSearchGroup.java
Clone Instance
1
Line Count
11
Source Line
180
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/ImplementorsSearchGroup.java

        private void updateGlobalActionHandlers() {
                if (fActionBars != null) {
                        fActionBars.setGlobalActionHandler(JdtActionConstants.FIND_IMPLEMENTORS_IN_WORKSPACE, fFindImplementorsAction);
                        fActionBars.setGlobalActionHandler(JdtActionConstants.FIND_IMPLEMENTORS_IN_PROJECT, fFindImplementorsInProjectAction);
                        fActionBars.setGlobalActionHandler(JdtActionConstants.FIND_IMPLEMENTORS_IN_WORKING_SET, fFindImplementorsInWorkingSetAction);
                }
        }

        private void disposeAction(ISelectionChangedListener action, ISelectionProvider provider) {
                if (action != null)
                        provider.removeSelectionChangedListener(action);
        }


Clone Instance
2
Line Count
11
Source Line
183
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/OccurrencesSearchGroup.java

        private void updateGlobalActionHandlers() {
                if (fActionBars != null) {
                        fActionBars.setGlobalActionHandler(JdtActionConstants.FIND_OCCURRENCES_IN_FILE, fOccurrencesInFileAction);
                        fActionBars.setGlobalActionHandler(JdtActionConstants.FIND_EXCEPTION_OCCURRENCES, fExceptionOccurrencesAction);
                        fActionBars.setGlobalActionHandler(JdtActionConstants.FIND_IMPLEMENT_OCCURRENCES, fFindImplementorOccurrencesAction);
                }
        }

        private void disposeAction(ISelectionChangedListener action, ISelectionProvider provider) {
                if (action != null)
                        provider.removeSelectionChangedListener(action);
        }


Clone AbstractionParameter Count: 6Parameter Bindings

private void updateGlobalActionHandlers() {
  if (fActionBars != null) {
    fActionBars.setGlobalActionHandler(JdtActionConstants. [[#variableb8400060]],  [[#variable7c411fa0]]);
    fActionBars.setGlobalActionHandler(JdtActionConstants. [[#variable7c411ee0]],  [[#variable7c411e40]]);
    fActionBars.setGlobalActionHandler(JdtActionConstants. [[#variablea4b103c0]],  [[#variable7c411da0]]);
  }
}

private void disposeAction(ISelectionChangedListener action, ISelectionProvider provider) {
  if (action != null)
    provider.removeSelectionChangedListener(action);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#b8400060]]
FIND_IMPLEMENTORS_IN_WORKSPACE 
12[[#b8400060]]
FIND_OCCURRENCES_IN_FILE 
21[[#7c411fa0]]
fFindImplementorsAction 
22[[#7c411fa0]]
fOccurrencesInFileAction 
31[[#7c411ee0]]
FIND_IMPLEMENTORS_IN_PROJECT 
32[[#7c411ee0]]
FIND_EXCEPTION_OCCURRENCES 
41[[#7c411e40]]
fFindImplementorsInProjectAction 
42[[#7c411e40]]
fExceptionOccurrencesAction 
51[[#a4b103c0]]
FIND_IMPLEMENTORS_IN_WORKING_SET 
52[[#a4b103c0]]
FIND_IMPLEMENT_OCCURRENCES 
61[[#7c411da0]]
fFindImplementorsInWorkingSetAction 
62[[#7c411da0]]
fFindImplementorOccurrencesAction