Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
9 | 2 | 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 | 151 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/SelectionProviderMediator.java |
2 | 10 | 165 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/SelectionProviderMediator.java |
| ||||
/* * @see ISelectionProvider#addSelectionChangedListener */ public void addSelectionChangedListener(ISelectionChangedListener listener) { fSelectionChangedListeners.add(listener); } /* * @see ISelectionProvider#removeSelectionChangedListener */ public void removeSelectionChangedListener(ISelectionChangedListener listener) { fSelectionChangedListeners.remove(listener); } |
| ||||
/* (non-Javadoc) * @see org.eclipse.jface.viewers.IPostSelectionProvider#addPostSelectionChangedListener(org.eclipse.jface.viewers.ISelectionChangedListener) */ public void addPostSelectionChangedListener(ISelectionChangedListener listener) { fPostSelectionChangedListeners.add(listener); } /* (non-Javadoc) * @see org.eclipse.jface.viewers.IPostSelectionProvider#removePostSelectionChangedListener(org.eclipse.jface.viewers.ISelectionChangedListener) */ public void removePostSelectionChangedListener(ISelectionChangedListener listener) { fPostSelectionChangedListeners.remove(listener); } |
| |||
/* * @see ISelectionProvider#addSelectionChangedListener */ /* (non-Javadoc) * @see org.eclipse.jface.viewers.IPostSelectionProvider#addPostSelectionChangedListener(org.eclipse.jface.viewers.ISelectionChangedListener) */ public void [[#variableb57f0e80]](ISelectionChangedListener listener) { [[#variableb57f0de0]].add(listener); } /* * @see ISelectionProvider#removeSelectionChangedListener */ /* (non-Javadoc) * @see org.eclipse.jface.viewers.IPostSelectionProvider#removePostSelectionChangedListener(org.eclipse.jface.viewers.ISelectionChangedListener) */ public void [[#variableb57f03e0]](ISelectionChangedListener listener) { [[#variableb57f0de0]].remove(listener); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#b57f0e80]] | addSelectionChangedListener |
1 | 2 | [[#b57f0e80]] | addPostSelectionChangedListener |
2 | 1 | [[#b57f0de0]] | fSelectionChangedListeners |
2 | 2 | [[#b57f0de0]] | fPostSelectionChangedListeners |
3 | 1 | [[#b57f03e0]] | removeSelectionChangedListener |
3 | 2 | [[#b57f03e0]] | removePostSelectionChangedListener |