CloneSet4086


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
11430.952class_body_declarations[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1938
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/MockupPreferenceStore.java
211802
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/newsourcepage/DialogPackageExplorerActionGroup.java
311328
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/workingsets/WorkingSetModel.java
4560
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/ConvertingSelectionProvider.java
Clone Instance
1
Line Count
9
Source Line
38
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/MockupPreferenceStore.java

        /**
         * {@inheritDoc}
         */
        public void addPropertyChangeListener(IPropertyChangeListener listener) {
                fListeners.add(listener);
        }

        /**
         * {@inheritDoc}
         */
        public void removePropertyChangeListener(IPropertyChangeListener listener) {
                fListeners.remove(listener);
        }


Clone Instance
2
Line Count
11
Source Line
802
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/newsourcepage/DialogPackageExplorerActionGroup.java

    /**
     * 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);
    }


Clone Instance
3
Line Count
11
Source Line
328
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/workingsets/WorkingSetModel.java

        //---- 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);
        }


Clone Instance
4
Line Count
5
Source Line
60
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/ConvertingSelectionProvider.java

                public void addListener(ISelectionChangedListener listener) {
                        fListeners.add(listener);
                }

                public void removeListener(ISelectionChangedListener listener) {
                        fListeners.remove(listener);
                }


Clone AbstractionParameter Count: 3Parameter Bindings

//---- 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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#b6f6c3c0]]
addPropertyChangeListener 
12[[#b6f6c3c0]]
addListener 
13[[#b6f6c3c0]]
addListener 
14[[#b6f6c3c0]]
addPropertyChangeListener 
21[[#b6f6cda0]]
IPropertyChangeListener 
22[[#b6f6cda0]]
ISelectionChangedListener 
23[[#b6f6cda0]]
IPackageExplorerActionListener 
24[[#b6f6cda0]]
IPropertyChangeListener 
31[[#b6f6cc60]]
removePropertyChangeListener 
32[[#b6f6cc60]]
removeListener 
33[[#b6f6cc60]]
removeListener 
34[[#b6f6cc60]]
removePropertyChangeListener