1901-7-10

Adapter createEEnumAdapter() { if (eEnumItemProvider == null) { eEnumItemProvider = new EEnumItemProvider(this); } return eEnumItemProvider; } /** * This keeps track of the one adapter used for all {@link org.eclipse.emf.ecore.EEnumLiteral} instances. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ protected EEnumLiteralItemProvider eEnumLiteralItemProvider; /** * This creates an adapter for a {@link org.eclipse.emf.ecore.EEnumLiteral}. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override public Adapter createEEnumLiteralAdapter() { if (eEnumLiteralItemProvider == null) { eEnumLiteralItemProvider = new EEnumLiteralItemProvider(this); } return eEnumLiteralItemProvider; } /** * This keeps track of the one adapter used for all {@link org.eclipse.emf.ecore.EFactory} instances. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ protected EFactoryItemProvider eFactoryItemProvider; /** * This creates an adapter for a {@link org.eclipse.emf.ecore.EFactory}. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override public Adapter createEFactoryAdapter() { if (eFactoryItemProvider == null) { eFactoryItemProvider = new EFactoryItemProvider(this); } return eFactoryItemProvider; } /** * This keeps track of the one adapter used for all {@link org.eclipse.emf.ecore.EObject} instances. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated NOT */ protected ReflectiveItemProvider eObjectItemProvider; /** * This creates an adapter for a {@link org.eclipse.emf.ecore.EObject}. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated NOT */ @Override public Adapter createEObjectAdapter() { if (eObjectItemProvider == null) { eObjectItemProvider = new ReflectiveItemProvider(this); } return eObjectItemProvider; } /** * This keeps track of the one adapter used for all {@link org.eclipse.emf.ecore.EOperation} instances. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ protected EOperationItemProvider eOperationItemProvider; /** * This creates an adapter for a {@link org.eclipse.emf.ecore.EOperation}. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override public Adapter createEOperationAdapter() { if (eOperationItemProvider == null) { eOperationItemProvider = new EOperationItemProvider(this); } return eOperationItemProvider; } /** * This keeps track of the one adapter used for all {@link org.eclipse.emf.ecore.EPackage} instances. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ protected EPackageItemProvider ePackageItemProvider; /** * This creates an adapter for a {@link org.eclipse.emf.ecore.EPackage}. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override public Adapter createEPackageAdapter() { if (ePackageItemProvider == null) { ePackageItemProvider = new EPackageItemProvider(this); } return ePackageItemProvider; }
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; } /** * This keeps track of the one adapter used for all {@link org.eclipse.emf.ecore.EEnumLiteral} instances. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ protected EEnumLiteralItemProvider eEnumLiteralItemProvider; /** * This creates an adapter for a {@link org.eclipse.emf.ecore.EEnumLiteral}. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override public Adapter createEEnumLiteralAdapter() { if (eEnumLiteralItemProvider == null) { eEnumLiteralItemProvider = new EEnumLiteralItemProvider(this); } return eEnumLiteralItemProvider; } /** * This keeps track of the one adapter used for all {@link org.eclipse.emf.ecore.EFactory} instances. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ protected EFactoryItemProvider eFactoryItemProvider; /** * This creates an adapter for a {@link org.eclipse.emf.ecore.EFactory}. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override public Adapter createEFactoryAdapter() { if (eFactoryItemProvider == null) { eFactoryItemProvider = new EFactoryItemProvider(this); } return eFactoryItemProvider; } /** * This keeps track of the one adapter used for all {@link org.eclipse.emf.ecore.EObject} instances. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated NOT */ protected ReflectiveItemProvider eObjectItemProvider; /** * This creates an adapter for a {@link org.eclipse.emf.ecore.EObject}. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated NOT */ @Override public Adapter createEObjectAdapter() { if (eObjectItemProvider == null) { eObjectItemProvider = new ReflectiveItemProvider(this); } return eObjectItemProvider; } /** * This keeps track of the one adapter used for all {@link org.eclipse.emf.ecore.EOperation} instances. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ protected EOperationItemProvider eOperationItemProvider; /** * This creates an adapter for a {@link org.eclipse.emf.ecore.EOperation}. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override public Adapter createEOperationAdapter() { if (eOperationItemProvider == null) { eOperationItemProvider = new EOperationItemProvider(this); } return eOperationItemProvider; }

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

2

      {↵

3

        if (eDataTypeItemProvider == null)↵

4

        {↵

5

          eDataTypeItemProvider = new EDataTypeItemProvider(this);↵

6

        }↵

7

        return eDataTypeItemProvider;↵

8

      }↵

9

      /**↵

10

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

11

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

12

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

13

       * @generated↵

14

       */↵

15

      protected EEnumItemProvider eEnumItemProvider;↵

16

      /**↵

17

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

18

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

19

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

20

       * @generated↵

21

       */↵

22

      @Override↵

1

    Adapter createEEnumAdapter()↵

23

      public Adapter createEEnumAdapter()↵

2

      {↵

24

      {↵

3

        if (eEnumItemProvider == null)↵

25

        if (eEnumItemProvider == null)↵

4

        {↵

26

        {↵

5

          eEnumItemProvider = new EEnumItemProvider(this);↵

27

          eEnumItemProvider = new EEnumItemProvider(this);↵

6

        }↵

28

        }↵

7

        return eEnumItemProvider;↵

29

        return eEnumItemProvider;↵

8

      }↵

30

      }↵

9

      /**↵

31

      /**↵

10

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

32

       * This keeps track of the one adapter used for all {@link org.eclipse.emf.ecore.EEnumLiteral} 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 EEnumLiteralItemProvider eEnumLiteralItemProvider;↵

37

      protected EEnumLiteralItemProvider eEnumLiteralItemProvider;↵

16

      /**↵

38

      /**↵

17

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

39

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

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

45

      public Adapter createEEnumLiteralAdapter()↵

24

      {↵

46

      {↵

25

        if (eEnumLiteralItemProvider == null)↵

47

        if (eEnumLiteralItemProvider == null)↵

26

        {↵

48

        {↵

27

          eEnumLiteralItemProvider = new EEnumLiteralItemProvider(this);↵

49

          eEnumLiteralItemProvider = new EEnumLiteralItemProvider(this);↵

28

        }↵

50

        }↵

29

        return eEnumLiteralItemProvider;↵

51

        return eEnumLiteralItemProvider;↵

30

      }↵

52

      }↵

31

      /**↵

53

      /**↵

32

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

54

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

33

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

55

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

34

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

56

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

35

       * @generated↵

57

       * @generated↵

36

       */↵

58

       */↵

37

      protected EFactoryItemProvider eFactoryItemProvider;↵

59

      protected EFactoryItemProvider eFactoryItemProvider;↵

38

      /**↵

60

      /**↵

39

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

61

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

40

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

62

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

41

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

63

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

42

       * @generated↵

64

       * @generated↵

43

       */↵

65

       */↵

44

      @Override↵

66

      @Override↵

45

      public Adapter createEFactoryAdapter()↵

67

      public Adapter createEFactoryAdapter()↵

46

      {↵

68

      {↵

47

        if (eFactoryItemProvider == null)↵

69

        if (eFactoryItemProvider == null)↵

48

        {↵

70

        {↵

49

          eFactoryItemProvider = new EFactoryItemProvider(this);↵

71

          eFactoryItemProvider = new EFactoryItemProvider(this);↵

50

        }↵

72

        }↵

51

        return eFactoryItemProvider;↵

73

        return eFactoryItemProvider;↵

52

      }↵

74

      }↵

53

      /**↵

75

      /**↵

54

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

76

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

55

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

77

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

56

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

78

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

57

       * @generated NOT↵

79

       * @generated NOT↵

58

       */↵

80

       */↵

59

      protected ReflectiveItemProvider eObjectItemProvider;↵

81

      protected ReflectiveItemProvider eObjectItemProvider;↵

60

      /**↵

82

      /**↵

61

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

83

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

62

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

84

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

63

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

85

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

64

       * @generated NOT↵

86

       * @generated NOT↵

65

       */↵

87

       */↵

66

      @Override↵

88

      @Override↵

67

      public Adapter createEObjectAdapter()↵

89

      public Adapter createEObjectAdapter()↵

68

      {↵

90

      {↵

69

        if (eObjectItemProvider == null)↵

91

        if (eObjectItemProvider == null)↵

70

        {↵

92

        {↵

71

          eObjectItemProvider = new ReflectiveItemProvider(this);↵

93

          eObjectItemProvider = new ReflectiveItemProvider(this);↵

72

        }↵

94

        }↵

73

        return eObjectItemProvider;↵

95

        return eObjectItemProvider;↵

74

      }↵

96

      }↵

75

      /**↵

97

      /**↵

76

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

98

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

77

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

99

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

78

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

100

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

79

       * @generated↵

101

       * @generated↵

80

       */↵

102

       */↵

81

      protected EOperationItemProvider eOperationItemProvider;↵

103

      protected EOperationItemProvider eOperationItemProvider;↵

82

      /**↵

104

      /**↵

83

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

105

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

84

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

106

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

85

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

107

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

86

       * @generated↵

108

       * @generated↵

87

       */↵

109

       */↵

88

      @Override↵

110

      @Override↵

89

      public Adapter createEOperationAdapter()↵

111

      public Adapter createEOperationAdapter()↵

90

      {↵

112

      {↵

91

        if (eOperationItemProvider == null)↵

113

        if (eOperationItemProvider == null)↵

92

        {↵

114

        {↵

93

          eOperationItemProvider = new EOperationItemProvider(this);↵

115

          eOperationItemProvider = new EOperationItemProvider(this);↵

94

        }↵

116

        }↵

95

        return eOperationItemProvider;↵

117

        return eOperationItemProvider;↵

96

      }↵

118

      }

97

      /**↵

98

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

99

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

100

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

101

       * @generated↵

102

       */↵

103

      protected EPackageItemProvider ePackageItemProvider;↵

104

      /**↵

105

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

106

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

107

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

108

       * @generated↵

109

       */↵

110

      @Override↵

111

      public Adapter createEPackageAdapter()↵

112

      {↵

113

        if (ePackageItemProvider == null)↵

114

        {↵

115

          ePackageItemProvider = new EPackageItemProvider(this);↵

116

        }↵

117

        return ePackageItemProvider;↵

118

      }

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