Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
8 | 2 | 2 | 0.981 | method_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 7 | 140 | E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/databinding/edit/EMFEditObservables.java |
2 | 8 | 173 | E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/databinding/edit/EMFEditObservables.java |
| |||||
/** * Returns a factory for creating observable values * tracking the value of the given feature of a particular {@link EObject object}. * @param realm the realm in which to observe. * @param domain the editing domain used for applying changes. * @param eStructuralFeature the feature for which to track the value. * @return an observable factory. */ public static IObservableFactory valueFactory( final Realm realm, final EditingDomain domain, final EStructuralFeature eStructuralFeature) { return new IObservableFactory() { public IObservable createObservable(Object target) { return observeValue(realm, domain, (EObject) target, eStructuralFeature); } }; } |
| |||||
/** * Returns a factory for creating observable lists * tracking the value of the given feature of a particular {@link EObject object}. * @param realm the realm in which to observe. * @param domain the editing domain used for applying changes. * @param eStructuralFeature the feature for which to track the value. * @return an observable factory. */ public static IObservableFactory listFactory( final Realm realm, final EditingDomain domain, final EStructuralFeature eStructuralFeature) { return new IObservableFactory() { public IObservable createObservable(Object target) { return observeList(realm, domain, (EObject) target, eStructuralFeature); } }; } |
| |||
/** * Returns a factory for creating observable lists * tracking the value of the given feature of a particular {@link EObject object}. * @param realm the realm in which to observe. * @param domain the editing domain used for applying changes. * @param eStructuralFeature the feature for which to track the value. * @return an observable factory. */ /** * Returns a factory for creating observable values * tracking the value of the given feature of a particular {@link EObject object}. * @param realm the realm in which to observe. * @param domain the editing domain used for applying changes. * @param eStructuralFeature the feature for which to track the value. * @return an observable factory. */ public static IObservableFactory [[#variable173312c0]]( final Realm realm, final EditingDomain domain, final EStructuralFeature eStructuralFeature) { return new IObservableFactory() { public IObservable createObservable(Object target) { return [[#variable17331340]](realm, domain, (EObject) target, eStructuralFeature); } }; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#173312c0]] | valueFactory |
1 | 2 | [[#173312c0]] | listFactory |
2 | 1 | [[#17331340]] | observeValue |
2 | 2 | [[#17331340]] | observeList |