1898-10-12

Adapter createEReferenceAdapter() { if (eReferenceItemProvider == null) { eReferenceItemProvider = new EReferenceItemProvider(this); } return eReferenceItemProvider; } /** * This keeps track of the one adapter used for all {@link java.util.Map.Entry} instances. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ protected EStringToStringMapEntryItemProvider eStringToStringMapEntryItemProvider; /** * This creates an adapter for a {@link java.util.Map.Entry}. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override public Adapter createEStringToStringMapEntryAdapter() { if (eStringToStringMapEntryItemProvider == null) { eStringToStringMapEntryItemProvider = new EStringToStringMapEntryItemProvider(this); } return eStringToStringMapEntryItemProvider; } /** * This keeps track of the one adapter used for all {@link org.eclipse.emf.ecore.EGenericType} instances. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ protected EGenericTypeItemProvider eGenericTypeItemProvider; /** * This creates an adapter for a {@link org.eclipse.emf.ecore.EGenericType}. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override public Adapter createEGenericTypeAdapter() { if (eGenericTypeItemProvider == null) { eGenericTypeItemProvider = new EGenericTypeItemProvider(this); } return eGenericTypeItemProvider; }
Adapter createEParameterAdapter() { if (eParameterItemProvider == null) { eParameterItemProvider = new EParameterItemProvider(this); } return eParameterItemProvider; } /** * This keeps track of the one adapter used for all {@link org.eclipse.emf.ecore.EReference} instances. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ protected EReferenceItemProvider eReferenceItemProvider; /** * This creates an adapter for a {@link org.eclipse.emf.ecore.EReference}. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override public Adapter createEReferenceAdapter() { if (eReferenceItemProvider == null) { eReferenceItemProvider = new EReferenceItemProvider(this); } return eReferenceItemProvider; } /** * This keeps track of the one adapter used for all {@link java.util.Map.Entry} instances. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ protected EStringToStringMapEntryItemProvider eStringToStringMapEntryItemProvider; /** * This creates an adapter for a {@link java.util.Map.Entry}. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override public Adapter createEStringToStringMapEntryAdapter() { if (eStringToStringMapEntryItemProvider == null) { eStringToStringMapEntryItemProvider = new EStringToStringMapEntryItemProvider(this); } return eStringToStringMapEntryItemProvider; }

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 createEParameterAdapter()↵

2

      {↵

3

        if (eParameterItemProvider == null)↵

4

        {↵

5

          eParameterItemProvider = new EParameterItemProvider(this);↵

6

        }↵

7

        return eParameterItemProvider;↵

8

      }↵

9

      /**↵

10

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

11

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

12

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

13

       * @generated↵

14

       */↵

15

      protected EReferenceItemProvider eReferenceItemProvider;↵

16

      /**↵

17

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

18

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

19

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

20

       * @generated↵

21

       */↵

22

      @Override↵

1

    Adapter createEReferenceAdapter()↵

23

      public Adapter createEReferenceAdapter()↵

2

      {↵

24

      {↵

3

        if (eReferenceItemProvider == null)↵

25

        if (eReferenceItemProvider == null)↵

4

        {↵

26

        {↵

5

          eReferenceItemProvider = new EReferenceItemProvider(this);↵

27

          eReferenceItemProvider = new EReferenceItemProvider(this);↵

6

        }↵

28

        }↵

7

        return eReferenceItemProvider;↵

29

        return eReferenceItemProvider;↵

8

      }↵

30

      }↵

9

      /**↵

31

      /**↵

10

       * This keeps track of the one adapter used for all {@link java.util.Map.Entry} instances.↵

32

       * This keeps track of the one adapter used for all {@link java.util.Map.Entry} 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 EStringToStringMapEntryItemProvider eStringToStringMapEntryItemProvider;↵

37

      protected EStringToStringMapEntryItemProvider eStringToStringMapEntryItemProvider;↵

16

      /**↵

38

      /**↵

17

       * This creates an adapter for a {@link java.util.Map.Entry}.↵

39

       * This creates an adapter for a {@link java.util.Map.Entry}.↵

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 createEStringToStringMapEntryAdapter()↵

45

      public Adapter createEStringToStringMapEntryAdapter()↵

24

      {↵

46

      {↵

25

        if (eStringToStringMapEntryItemProvider == null)↵

47

        if (eStringToStringMapEntryItemProvider == null)↵

26

        {↵

48

        {↵

27

          eStringToStringMapEntryItemProvider = new EStringToStringMapEntryItemProvider(this);↵

49

          eStringToStringMapEntryItemProvider = new EStringToStringMapEntryItemProvider(this);↵

28

        }↵

50

        }↵

29

        return eStringToStringMapEntryItemProvider;↵

51

        return eStringToStringMapEntryItemProvider;↵

30

      }↵

52

      }

31

      /**↵

32

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

33

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

34

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

35

       * @generated↵

36

       */↵

37

      protected EGenericTypeItemProvider eGenericTypeItemProvider;↵

38

      /**↵

39

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

40

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

41

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

42

       * @generated↵

43

       */↵

44

      @Override↵

45

      public Adapter createEGenericTypeAdapter()↵

46

      {↵

47

        if (eGenericTypeItemProvider == null)↵

48

        {↵

49

          eGenericTypeItemProvider = new EGenericTypeItemProvider(this);↵

50

        }↵

51

        return eGenericTypeItemProvider;↵

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