Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
11 | 4 | 3 | 0.952 | class_body_declarations[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 9 | 38 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/MockupPreferenceStore.java |
2 | 11 | 802 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/newsourcepage/DialogPackageExplorerActionGroup.java |
3 | 11 | 328 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/workingsets/WorkingSetModel.java |
4 | 5 | 60 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/ConvertingSelectionProvider.java |
| ||||
/** * {@inheritDoc} */ public void addPropertyChangeListener(IPropertyChangeListener listener) { fListeners.add(listener); } /** * {@inheritDoc} */ public void removePropertyChangeListener(IPropertyChangeListener listener) { fListeners.remove(listener); } |
| ||||
/** * Add listeners for the <code>PackageExplorerActionEvent</code>. * * @param listener the listener to be added * * @see PackageExplorerActionEvent * @see IPackageExplorerActionListener */ public void addListener(IPackageExplorerActionListener listener) { fListeners.add(listener); } /** * Remove the listener from the list of registered listeners. * * @param listener the listener to be removed */ public void removeListener(IPackageExplorerActionListener listener) { fListeners.remove(listener); } |
| ||||
//---- working set management ----------------------------------- /** * Adds a property change listener. * * @param listener the property change listener to add */ public void addPropertyChangeListener(IPropertyChangeListener listener) { fListeners.add(listener); } /** * Removes the property change listener. * * @param listener the property change listener to remove */ public void removePropertyChangeListener(IPropertyChangeListener listener) { fListeners.remove(listener); } |
| ||||
public void addListener(ISelectionChangedListener listener) { fListeners.add(listener); } public void removeListener(ISelectionChangedListener listener) { fListeners.remove(listener); } |
| |||
//---- working set management ----------------------------------- /** * Adds a property change listener. * * @param listener the property change listener to add */ /** * Add listeners for the <code>PackageExplorerActionEvent</code>. * * @param listener the listener to be added * * @see PackageExplorerActionEvent * @see IPackageExplorerActionListener */ /** * {@inheritDoc} */ public void [[#variableb6f6c3c0]]( [[#variableb6f6cda0]] listener) { fListeners.add(listener); } /** * Removes the property change listener. * * @param listener the property change listener to remove */ /** * Remove the listener from the list of registered listeners. * * @param listener the listener to be removed */ /** * {@inheritDoc} */ public void [[#variableb6f6cc60]]( [[#variableb6f6cda0]] listener) { fListeners.remove(listener); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#b6f6c3c0]] | addPropertyChangeListener |
1 | 2 | [[#b6f6c3c0]] | addListener |
1 | 3 | [[#b6f6c3c0]] | addListener |
1 | 4 | [[#b6f6c3c0]] | addPropertyChangeListener |
2 | 1 | [[#b6f6cda0]] | IPropertyChangeListener |
2 | 2 | [[#b6f6cda0]] | ISelectionChangedListener |
2 | 3 | [[#b6f6cda0]] | IPackageExplorerActionListener |
2 | 4 | [[#b6f6cda0]] | IPropertyChangeListener |
3 | 1 | [[#b6f6cc60]] | removePropertyChangeListener |
3 | 2 | [[#b6f6cc60]] | removeListener |
3 | 3 | [[#b6f6cc60]] | removeListener |
3 | 4 | [[#b6f6cc60]] | removePropertyChangeListener |