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.977 | method_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 8 | 133 | E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/databinding/EMFObservables.java |
2 | 8 | 165 | E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/databinding/EMFObservables.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 eStructuralFeature the feature for which to track the value. * @return an observable factory. */ public static IObservableFactory valueFactory( final Realm realm, final EStructuralFeature eStructuralFeature) { return new IObservableFactory() { public IObservable createObservable(Object target) { return observeValue(realm, (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 eStructuralFeature the feature for which to track the value. * @return an observable factory. */ public static IObservableFactory listFactory( final Realm realm, final EStructuralFeature eStructuralFeature) { return new IObservableFactory() { public IObservable createObservable(Object target) { return observeList(realm, (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 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 eStructuralFeature the feature for which to track the value. * @return an observable factory. */ public static IObservableFactory [[#variable17399200]]( final Realm realm, final EStructuralFeature eStructuralFeature) { return new IObservableFactory() { public IObservable createObservable(Object target) { return [[#variable17399180]](realm, (EObject) target, eStructuralFeature); } }; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#17399200]] | valueFactory |
1 | 2 | [[#17399200]] | listFactory |
2 | 1 | [[#17399180]] | observeValue |
2 | 2 | [[#17399180]] | observeList |