Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
11 | 2 | 6 | 0.973 | class_body_declarations[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 11 | 180 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/ImplementorsSearchGroup.java |
2 | 11 | 183 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/OccurrencesSearchGroup.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); } |
| ||||
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); } |
| |||
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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#b8400060]] | FIND_IMPLEMENTORS_IN_WORKSPACE |
1 | 2 | [[#b8400060]] | FIND_OCCURRENCES_IN_FILE |
2 | 1 | [[#7c411fa0]] | fFindImplementorsAction |
2 | 2 | [[#7c411fa0]] | fOccurrencesInFileAction |
3 | 1 | [[#7c411ee0]] | FIND_IMPLEMENTORS_IN_PROJECT |
3 | 2 | [[#7c411ee0]] | FIND_EXCEPTION_OCCURRENCES |
4 | 1 | [[#7c411e40]] | fFindImplementorsInProjectAction |
4 | 2 | [[#7c411e40]] | fExceptionOccurrencesAction |
5 | 1 | [[#a4b103c0]] | FIND_IMPLEMENTORS_IN_WORKING_SET |
5 | 2 | [[#a4b103c0]] | FIND_IMPLEMENT_OCCURRENCES |
6 | 1 | [[#7c411da0]] | fFindImplementorsInWorkingSetAction |
6 | 2 | [[#7c411da0]] | fFindImplementorOccurrencesAction |