Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
13 | 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 | 6 | 824 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitDocumentProvider.java |
2 | 13 | 232 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompoundEditExitStrategy.java |
| ||||
public void addListener(IAnnotationModelListener listener) { fListenerList.add(listener); } public void removeListener(IAnnotationModelListener listener) { fListenerList.remove(listener); } |
| ||||
/** * Adds a compound edit listener. Multiple registration is possible. Note that the receiver is * automatically disarmed before the listeners are notified. * * @param listener the new listener */ public void addCompoundListener(ICompoundEditListener listener) { fListenerList.add(listener); } /** * Removes a compound edit listener. If <code>listener</code> is registered multiple times, an * arbitrary instance is removed. If <code>listener</code> is not currently registered, * nothing happens. * * @param listener the listener to be removed. */ public void removeCompoundListener(ICompoundEditListener listener) { fListenerList.remove(listener); } |
| |||
/** * Adds a compound edit listener. Multiple registration is possible. Note that the receiver is * automatically disarmed before the listeners are notified. * * @param listener the new listener */ public void [[#variableb94d3960]]( [[#variablec1fa9520]] listener) { fListenerList.add(listener); } /** * Removes a compound edit listener. If <code>listener</code> is registered multiple times, an * arbitrary instance is removed. If <code>listener</code> is not currently registered, * nothing happens. * * @param listener the listener to be removed. */ public void [[#variablea4b5cbc0]]( [[#variablec1fa9520]] listener) { fListenerList.remove(listener); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#b94d3960]] | addCompoundListener |
1 | 2 | [[#b94d3960]] | addListener |
2 | 1 | [[#c1fa9520]] | ICompoundEditListener |
2 | 2 | [[#c1fa9520]] | IAnnotationModelListener |
3 | 1 | [[#a4b5cbc0]] | removeCompoundListener |
3 | 2 | [[#a4b5cbc0]] | removeListener |