1898-2-18

Adapter createEObjectToChangesMapEntryAdapter() { if (eObjectToChangesMapEntryItemProvider == null) { eObjectToChangesMapEntryItemProvider = new EObjectToChangesMapEntryItemProvider(this); } return eObjectToChangesMapEntryItemProvider; } /** * This keeps track of the one adapter used for all {@link org.eclipse.emf.ecore.change.FeatureChange} instances. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ protected FeatureChangeItemProvider featureChangeItemProvider; /** * This creates an adapter for a {@link org.eclipse.emf.ecore.change.FeatureChange}. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override public Adapter createFeatureChangeAdapter() { if (featureChangeItemProvider == null) { featureChangeItemProvider = new FeatureChangeItemProvider(this); } return featureChangeItemProvider; } /** * This keeps track of the one adapter used for all {@link org.eclipse.emf.ecore.change.ListChange} instances. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ protected ListChangeItemProvider listChangeItemProvider; /** * This creates an adapter for a {@link org.eclipse.emf.ecore.change.ListChange}. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override public Adapter createListChangeAdapter() { if (listChangeItemProvider == null) { listChangeItemProvider = new ListChangeItemProvider(this); } return listChangeItemProvider; }
Adapter createFeatureChangeAdapter() { if (featureChangeItemProvider == null) { featureChangeItemProvider = new FeatureChangeItemProvider(this); } return featureChangeItemProvider; } /** * This keeps track of the one adapter used for all {@link org.eclipse.emf.ecore.change.ListChange} instances. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ protected ListChangeItemProvider listChangeItemProvider; /** * This creates an adapter for a {@link org.eclipse.emf.ecore.change.ListChange}. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override public Adapter createListChangeAdapter() { if (listChangeItemProvider == null) { listChangeItemProvider = new ListChangeItemProvider(this); } return listChangeItemProvider; } /** * This keeps track of the one adapter used for all {@link org.eclipse.emf.ecore.change.ResourceChange} instances. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ protected ResourceChangeItemProvider resourceChangeItemProvider; /** * This creates an adapter for a {@link org.eclipse.emf.ecore.change.ResourceChange}. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override public Adapter createResourceChangeAdapter() { if (resourceChangeItemProvider == null) { resourceChangeItemProvider = new ResourceChangeItemProvider(this); } return resourceChangeItemProvider; }

Clone fragments detected by clone detection tool
File path: /emf-2.4.1/src/org/eclipse/emf/ecore/change/provider/ChangeItemProviderAdapterFactory.java |  | File path: /emf-2.4.1/src/org/eclipse/emf/ecore/change/provider/ChangeItemProviderAdapterFactory.java
Method name: `` |  | Method name: ``
Number of AST nodes: 0 |  | Number of AST nodes: 0

1

    Adapter createEObjectToChangesMapEntryAdapter()↵

2

      {↵

3

        if (eObjectToChangesMapEntryItemProvider == null)↵

4

        {↵

5

          eObjectToChangesMapEntryItemProvider = new EObjectToChangesMapEntryItemProvider(this);↵

6

        }↵

7

        return eObjectToChangesMapEntryItemProvider;↵

8

      }↵

9

      /**↵

10

       * This keeps track of the one adapter used for all {@link org.eclipse.emf.ecore.change.FeatureChange} instances.↵

11

       * <!-- begin-user-doc -->↵

12

       * <!-- end-user-doc -->↵

13

       * @generated↵

14

       */↵

15

      protected FeatureChangeItemProvider featureChangeItemProvider;↵

16

      /**↵

17

       * This creates an adapter for a {@link org.eclipse.emf.ecore.change.FeatureChange}.↵

18

       * <!-- begin-user-doc -->↵

19

       * <!-- end-user-doc -->↵

20

       * @generated↵

21

       */↵

22

      @Override↵

23

      public Adapter createFeatureChangeAdapter()↵

1

    Adapter createFeatureChangeAdapter()↵

24

      {↵

2

      {↵

25

        if (featureChangeItemProvider == null)↵

3

        if (featureChangeItemProvider == null)↵

26

        {↵

4

        {↵

27

          featureChangeItemProvider = new FeatureChangeItemProvider(this);↵

5

          featureChangeItemProvider = new FeatureChangeItemProvider(this);↵

28

        }↵

6

        }↵

29

        return featureChangeItemProvider;↵

7

        return featureChangeItemProvider;↵

30

      }↵

8

      }↵

31

      /**↵

9

      /**↵

32

       * This keeps track of the one adapter used for all {@link org.eclipse.emf.ecore.change.ListChange} instances.↵

10

       * This keeps track of the one adapter used for all {@link org.eclipse.emf.ecore.change.ListChange} instances.↵

33

       * <!-- begin-user-doc -->↵

11

       * <!-- begin-user-doc -->↵

34

       * <!-- end-user-doc -->↵

12

       * <!-- end-user-doc -->↵

35

       * @generated↵

13

       * @generated↵

36

       */↵

14

       */↵

37

      protected ListChangeItemProvider listChangeItemProvider;↵

15

      protected ListChangeItemProvider listChangeItemProvider;↵

38

      /**↵

16

      /**↵

39

       * This creates an adapter for a {@link org.eclipse.emf.ecore.change.ListChange}.↵

17

       * This creates an adapter for a {@link org.eclipse.emf.ecore.change.ListChange}.↵

40

       * <!-- begin-user-doc -->↵

18

       * <!-- begin-user-doc -->↵

41

       * <!-- end-user-doc -->↵

19

       * <!-- end-user-doc -->↵

42

       * @generated↵

20

       * @generated↵

43

       */↵

21

       */↵

44

      @Override↵

22

      @Override↵

45

      public Adapter createListChangeAdapter()↵

23

      public Adapter createListChangeAdapter()↵

46

      {↵

24

      {↵

47

        if (listChangeItemProvider == null)↵

25

        if (listChangeItemProvider == null)↵

48

        {↵

26

        {↵

49

          listChangeItemProvider = new ListChangeItemProvider(this);↵

27

          listChangeItemProvider = new ListChangeItemProvider(this);↵

50

        }↵

28

        }↵

51

        return listChangeItemProvider;↵

29

        return listChangeItemProvider;↵

52

      }

30

      }↵

31

      /**↵

32

       * This keeps track of the one adapter used for all {@link org.eclipse.emf.ecore.change.ResourceChange} instances.↵

33

       * <!-- begin-user-doc -->↵

34

       * <!-- end-user-doc -->↵

35

       * @generated↵

36

       */↵

37

      protected ResourceChangeItemProvider resourceChangeItemProvider;↵

38

      /**↵

39

       * This creates an adapter for a {@link org.eclipse.emf.ecore.change.ResourceChange}.↵

40

       * <!-- begin-user-doc -->↵

41

       * <!-- end-user-doc -->↵

42

       * @generated↵

43

       */↵

44

      @Override↵

45

      public Adapter createResourceChangeAdapter()↵

46

      {↵

47

        if (resourceChangeItemProvider == null)↵

48

        {↵

49

          resourceChangeItemProvider = new ResourceChangeItemProvider(this);↵

50

        }↵

51

        return resourceChangeItemProvider;↵

52

      }

See real code fragment |  | See real code fragment

Summary
Number of common nesting structure subtrees | 0
Number of refactorable cases | 0
Number of non-refactorable cases | 0
Time elapsed for finding largest common nesting structure subtrees (ms) | 0.0
Clones location |
Number of node comparisons | 0