1898-11-13

Adapter createEClassAdapter() { if (eClassItemProvider == null) { eClassItemProvider = new EClassItemProvider(this); } return eClassItemProvider; } /** * This keeps track of the one adapter used for all {@link org.eclipse.emf.ecore.EDataType} instances. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ protected EDataTypeItemProvider eDataTypeItemProvider; /** * This creates an adapter for a {@link org.eclipse.emf.ecore.EDataType}. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override public Adapter createEDataTypeAdapter() { if (eDataTypeItemProvider == null) { eDataTypeItemProvider = new EDataTypeItemProvider(this); } return eDataTypeItemProvider; } /** * This keeps track of the one adapter used for all {@link org.eclipse.emf.ecore.EEnum} instances. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ protected EEnumItemProvider eEnumItemProvider; /** * This creates an adapter for a {@link org.eclipse.emf.ecore.EEnum}. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override public Adapter createEEnumAdapter() { if (eEnumItemProvider == null) { eEnumItemProvider = new EEnumItemProvider(this); } return eEnumItemProvider; }
Adapter createEAnnotationAdapter() { if (eAnnotationItemProvider == null) { eAnnotationItemProvider = new EAnnotationItemProvider(this); } return eAnnotationItemProvider; } /** * This keeps track of the one adapter used for all {@link org.eclipse.emf.ecore.EClass} instances. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ protected EClassItemProvider eClassItemProvider; /** * This creates an adapter for a {@link org.eclipse.emf.ecore.EClass}. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override public Adapter createEClassAdapter() { if (eClassItemProvider == null) { eClassItemProvider = new EClassItemProvider(this); } return eClassItemProvider; } /** * This keeps track of the one adapter used for all {@link org.eclipse.emf.ecore.EDataType} instances. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ protected EDataTypeItemProvider eDataTypeItemProvider; /** * This creates an adapter for a {@link org.eclipse.emf.ecore.EDataType}. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override public Adapter createEDataTypeAdapter() { if (eDataTypeItemProvider == null) { eDataTypeItemProvider = new EDataTypeItemProvider(this); } return eDataTypeItemProvider; }

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

1

    Adapter createEAnnotationAdapter()↵

2

      {↵

3

        if (eAnnotationItemProvider == null)↵

4

        {↵

5

          eAnnotationItemProvider = new EAnnotationItemProvider(this);↵

6

        }↵

7

        return eAnnotationItemProvider;↵

8

      }↵

9

      /**↵

10

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

11

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

12

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

13

       * @generated↵

14

       */↵

15

      protected EClassItemProvider eClassItemProvider;↵

16

      /**↵

17

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

18

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

19

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

20

       * @generated↵

21

       */↵

22

      @Override↵

1

    Adapter createEClassAdapter()↵

23

      public Adapter createEClassAdapter()↵

2

      {↵

24

      {↵

3

        if (eClassItemProvider == null)↵

25

        if (eClassItemProvider == null)↵

4

        {↵

26

        {↵

5

          eClassItemProvider = new EClassItemProvider(this);↵

27

          eClassItemProvider = new EClassItemProvider(this);↵

6

        }↵

28

        }↵

7

        return eClassItemProvider;↵

29

        return eClassItemProvider;↵

8

      }↵

30

      }↵

9

      /**↵

31

      /**↵

10

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

32

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

11

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

33

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

12

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

34

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

13

       * @generated↵

35

       * @generated↵

14

       */↵

36

       */↵

15

      protected EDataTypeItemProvider eDataTypeItemProvider;↵

37

      protected EDataTypeItemProvider eDataTypeItemProvider;↵

16

      /**↵

38

      /**↵

17

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

39

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

18

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

40

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

19

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

41

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

20

       * @generated↵

42

       * @generated↵

21

       */↵

43

       */↵

22

      @Override↵

44

      @Override↵

23

      public Adapter createEDataTypeAdapter()↵

45

      public Adapter createEDataTypeAdapter()↵

24

      {↵

46

      {↵

25

        if (eDataTypeItemProvider == null)↵

47

        if (eDataTypeItemProvider == null)↵

26

        {↵

48

        {↵

27

          eDataTypeItemProvider = new EDataTypeItemProvider(this);↵

49

          eDataTypeItemProvider = new EDataTypeItemProvider(this);↵

28

        }↵

50

        }↵

29

        return eDataTypeItemProvider;↵

51

        return eDataTypeItemProvider;↵

30

      }↵

52

      }

31

      /**↵

32

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

33

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

34

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

35

       * @generated↵

36

       */↵

37

      protected EEnumItemProvider eEnumItemProvider;↵

38

      /**↵

39

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

40

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

41

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

42

       * @generated↵

43

       */↵

44

      @Override↵

45

      public Adapter createEEnumAdapter()↵

46

      {↵

47

        if (eEnumItemProvider == null)↵

48

        {↵

49

          eEnumItemProvider = new EEnumItemProvider(this);↵

50

        }↵

51

        return eEnumItemProvider;↵

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