Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
5 | 2 | 1 | 0.981 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 5 | 172 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/SearchLabelProvider.java |
2 | 5 | 186 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/SearchLabelProvider.java |
| ||||
public void addListener(ILabelProviderListener listener) { super.addListener(listener); for (Iterator labelProviders = fLabelProviderMap.values().iterator(); labelProviders.hasNext();) { ILabelProvider labelProvider = (ILabelProvider) labelProviders.next(); labelProvider.addListener(listener); } } |
| ||||
public void removeListener(ILabelProviderListener listener) { super.removeListener(listener); for (Iterator labelProviders = fLabelProviderMap.values().iterator(); labelProviders.hasNext();) { ILabelProvider labelProvider = (ILabelProvider) labelProviders.next(); labelProvider.removeListener(listener); } } |
| |||
public void [[#variable9681b260]](ILabelProviderListener listener) { super. [[#variable9681b260]](listener); for (Iterator labelProviders = fLabelProviderMap.values().iterator(); labelProviders.hasNext();) { ILabelProvider labelProvider = (ILabelProvider) labelProviders.next(); labelProvider. [[#variable9681b260]](listener); } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#9681b260]] | addListener |
1 | 2 | [[#9681b260]] | removeListener |