Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
16 | 2 | 3 | 0.956 | class_body_declarations[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 16 | 44 | E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/databinding/edit/EMFEditObservables.java |
2 | 16 | 69 | E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/databinding/edit/EMFEditObservables.java |
| |||||
/** * Returns an observable value for the given feature of the object. * @param domain the editing domain used for applying changes. * @param eObject the object to observe. * @param eStructuralFeature the feature of the object to observe. * @return an observable value for the given feature of the object. */ public static IObservableValue observeValue(EditingDomain domain, EObject eObject, EStructuralFeature eStructuralFeature) { return new EditingDomainEObjectObservableValue(domain, eObject, eStructuralFeature); } /** * Returns an observable value for the given feature of the object. * @param realm the realm in which to observe. * @param domain the editing domain used for applying changes. * @param eObject the object to observe. * @param eStructuralFeature the feature of the object to observe. * @return an observable value for the given feature of the object. */ public static IObservableValue observeValue(Realm realm, EditingDomain domain, EObject eObject, EStructuralFeature eStructuralFeature) { return new EditingDomainEObjectObservableValue(realm, domain, eObject, eStructuralFeature); } |
| |||||
/** * Returns an observable list for the given multi-valued feature of the object. * @param domain the editing domain used for applying changes. * @param eObject the object to observe. * @param eStructuralFeature the feature of the object to observe. * @return an observable list for the given multi-valued feature of the object. */ public static IObservableList observeList(EditingDomain domain, EObject eObject, EStructuralFeature eStructuralFeature) { return new EditingDomainEObjectObservableList(domain, eObject, eStructuralFeature); } /** * Returns an observable list for the given multi-valued feature of the object. * @param realm the realm in which to observe. * @param domain the editing domain used for applying changes. * @param eObject the object to observe. * @param eStructuralFeature the feature of the object to observe. * @return an observable list for the given multi-valued feature of the object. */ public static IObservableList observeList(Realm realm, EditingDomain domain, EObject eObject, EStructuralFeature eStructuralFeature) { return new EditingDomainEObjectObservableList(realm, domain, eObject, eStructuralFeature); } |
| |||
/** * Returns an observable value for the given feature of the object. * @param domain the editing domain used for applying changes. * @param eObject the object to observe. * @param eStructuralFeature the feature of the object to observe. * @return an observable value for the given feature of the object. */ /** * Returns an observable list for the given multi-valued feature of the object. * @param domain the editing domain used for applying changes. * @param eObject the object to observe. * @param eStructuralFeature the feature of the object to observe. * @return an observable list for the given multi-valued feature of the object. */ public static [[#variable172811e0]] [[#variable17281180]](EditingDomain domain, EObject eObject, EStructuralFeature eStructuralFeature) { return new [[#variable17280f20]](domain, eObject, eStructuralFeature); } /** * Returns an observable value for the given feature of the object. * @param realm the realm in which to observe. * @param domain the editing domain used for applying changes. * @param eObject the object to observe. * @param eStructuralFeature the feature of the object to observe. * @return an observable value for the given feature of the object. */ /** * Returns an observable list for the given multi-valued feature of the object. * @param realm the realm in which to observe. * @param domain the editing domain used for applying changes. * @param eObject the object to observe. * @param eStructuralFeature the feature of the object to observe. * @return an observable list for the given multi-valued feature of the object. */ public static [[#variable172811e0]] [[#variable17281180]](Realm realm, EditingDomain domain, EObject eObject, EStructuralFeature eStructuralFeature) { return new [[#variable17280f20]](realm, domain, eObject, eStructuralFeature); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#172811e0]] | IObservableValue |
1 | 2 | [[#172811e0]] | IObservableList |
2 | 1 | [[#17281180]] | observeValue |
2 | 2 | [[#17281180]] | observeList |
3 | 1 | [[#17280f20]] | EditingDomainEObjectObservableValue |
3 | 2 | [[#17280f20]] | EditingDomainEObjectObservableList |