2007-1-2

void delegateAdd(int index, EClass eClass) { getEGenericSuperTypes().add(index, wrap(eClass)); } @Override protected void delegateClear() { getEGenericSuperTypes().clear(); } @Override protected void delegateAdd(EClass eClass) { getEGenericSuperTypes().add(wrap(eClass)); } @Override protected boolean delegateContains(Object object) { for (EClass eClass : this) { if (object == eClass) { return true; } } return false; } @Override protected boolean delegateContainsAll(Collection<?> collection) { for (Object object : collection) { if (!delegateContains(object)) { return false; } } return true; } @Override protected boolean delegateEquals(Object object) { if (object instanceof List) { List<?> list = (List<?>)object; if (list.size() == delegateSize()) { for (Iterator<?> i = list.iterator(), j = iterator(); i.hasNext(); ) { if (i.next() != j.next()) { return false; } } return true; } } return false; } @Override protected EClass delegateGet(int index) { EGenericType eGenericType = getEGenericSuperTypes().get(index); return unwrap(eGenericType); } @Override protected int delegateHashCode() { int hashCode = 1; for (EGenericType eGenericType : getEGenericSuperTypes()) { Object object = unwrap(eGenericType); hashCode = 31 * hashCode + (object == null ? 0 : object.hashCode()); } return hashCode; } @Override protected int delegateIndexOf(Object object) { int index = 0; for (EGenericType eGenericType : getEGenericSuperTypes()) { if (object == unwrap(eGenericType)) { return index; } ++index; } return -1; } @Override protected boolean delegateIsEmpty() { return getEGenericSuperTypes().isEmpty(); } @Override protected int delegateLastIndexOf(Object object) { EList<EGenericType> eGenericSuperTypes = getEGenericSuperTypes(); for (int i = eGenericSuperTypes.size() - 1; i >= 0; --i) { if (unwrap(eGenericSuperTypes.get(i)) == object) { return i; } } return -1; } @Override protected EClass delegateRemove(int index) { EGenericType eGenericType = getEGenericSuperTypes().remove(index); return unwrap(eGenericType); } @Override protected EClass delegateSet(int index, EClass eClass) { EGenericType eGenericType = getEGenericSuperTypes().get(index); EClass result = unwrap(eGenericType); // If this is just a proxy being resolved... // if (resolveProxy(result) == eClass) { // Force the raw type to be resolved so we don't resolve this endlessly. // eGenericType.getERawType(); } else { // Update the classifier and hence the raw type as normal. // eGenericType.setEClassifier(eClass); } return result; } @Override protected int delegateSize() { return getEGenericSuperTypes().size(); } @Override protected Object[] delegateToArray() { int size = delegateSize(); Object[] result = new Object[size]; int index = 0; for (EGenericType eGenericType : getEGenericSuperTypes()) { result[index++] = unwrap(eGenericType); } return result; } @Override protected <T> T[] delegateToArray(T[] array) { int size = delegateSize(); if (array.length < size) { @SuppressWarnings("unchecked") T[] newArray = (T[])Array.newInstance(array.getClass().getComponentType(), size); array = newArray; } if (array.length > size) { array[size] = null; } int index = 0; for (EGenericType eGenericType : getEGenericSuperTypes()) { @SuppressWarnings("unchecked") T rawType = (T)unwrap(eGenericType); array[index++] = rawType; } return array; } @Override protected String delegateToString() { StringBuffer stringBuffer = new StringBuffer(); stringBuffer.append("["); EList<EGenericType> eGenericSuperTypes = getEGenericSuperTypes(); for (int i = 0, size = delegateSize(); i < size; ) { stringBuffer.append(String.valueOf(unwrap(eGenericSuperTypes.get(i)))); if (++i < size) { stringBuffer.append(", "); } } stringBuffer.append("]"); return stringBuffer.toString(); } @Override protected boolean isInstance(Object object) { return object instanceof EClass; } @Override public int getFeatureID() { return EcorePackage.ECLASS__ESUPER_TYPES; } @Override protected boolean useEquals() { return true; } @Override protected boolean canContainNull() { return false; } @Override protected boolean isUnique() { return true; } @Override protected boolean hasInverse() { return false; } @Override protected boolean hasManyInverse() { return false; } @Override protected boolean hasNavigableInverse() { return false; } @Override protected boolean isEObject() { return true; } @Override protected boolean isContainment() { return false; } @Override protected boolean hasProxies() { return true; } @Override protected boolean hasInstanceClass() { return true; } @Override public boolean isSet() { return isSetESuperTypes(); } @Override protected NotificationImpl createNotification(int eventType, Object oldObject, Object newObject, int index, boolean wasSet) { // The notification for this list is being thrown by the // delegating list // return null; } @Override protected void dispatchNotification(Notification notification) { // Do nothing } }; } return eSuperTypes; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public void unsetESuperTypes() { if (eSuperTypes != null) ((InternalEList.Unsettable<?>)eSuperTypes).unset(); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated NOT */ public boolean isSetESuperTypes() { return eSuperTypes != null && !eSuperTypes.isEmpty() && !isSetEGenericSuperTypes(); }
void delegateAdd(int index, EClassifier eClassifier) { getEGenericExceptions().add(index, wrap(eClassifier)); } @Override protected void delegateClear() { getEGenericExceptions().clear(); } @Override protected void delegateAdd(EClassifier eClassifier) { getEGenericExceptions().add(wrap(eClassifier)); } @Override protected boolean delegateContains(Object object) { for (EClassifier eClassifier : this) { if (object == eClassifier) { return true; } } return false; } @Override protected boolean delegateContainsAll(Collection<?> collection) { for (Object object : collection) { if (!delegateContains(object)) { return false; } } return true; } @Override protected boolean delegateEquals(Object object) { if (object instanceof List) { List<?> list = (List<?>)object; if (list.size() == delegateSize()) { for (Iterator<?> i = list.iterator(), j = iterator(); i.hasNext(); ) { if (i.next() != j.next()) { return false; } } return true; } } return false; } @Override protected EClassifier delegateGet(int index) { EGenericType eGenericType = getEGenericExceptions().get(index); return unwrap(eGenericType); } @Override protected int delegateHashCode() { int hashCode = 1; for (EGenericType eGenericType : getEGenericExceptions()) { Object object = unwrap(eGenericType); hashCode = 31 * hashCode + (object == null ? 0 : object.hashCode()); } return hashCode; } @Override protected int delegateIndexOf(Object object) { int index = 0; for (EGenericType eGenericType : getEGenericExceptions()) { if (object == unwrap(eGenericType)) { return index; } ++index; } return -1; } @Override protected boolean delegateIsEmpty() { return getEGenericExceptions().isEmpty(); } @Override protected int delegateLastIndexOf(Object object) { EList<EGenericType> eGenericExceptions = getEGenericExceptions(); for (int i = eGenericExceptions.size() - 1; i >= 0; --i) { if (unwrap(eGenericExceptions.get(i)) == object) { return i; } } return -1; } @Override protected EClassifier delegateRemove(int index) { EGenericType eGenericType = getEGenericExceptions().remove(index); return unwrap(eGenericType); } @Override protected EClassifier delegateSet(int index, EClassifier eClassifier) { EGenericType eGenericType = getEGenericExceptions().get(index); EClassifier result = unwrap(eGenericType); // If this is just a proxy being resolved... // if (resolveProxy(result) == eClassifier) { // Force the raw type to be resolved so we don't resolve this endlessly. // eGenericType.getERawType(); } else { // Update the classifier and hence the raw type as normal. // eGenericType.setEClassifier(eClassifier); } return result; } @Override protected int delegateSize() { return getEGenericExceptions().size(); } @Override protected Object[] delegateToArray() { int size = delegateSize(); Object[] result = new Object[size]; int index = 0; for (EGenericType eGenericType : getEGenericExceptions()) { result[index++] = unwrap(eGenericType); } return result; } @Override protected <T> T[] delegateToArray(T[] array) { int size = delegateSize(); if (array.length < size) { @SuppressWarnings("unchecked") T[] newArray = (T[])Array.newInstance(array.getClass().getComponentType(), size); array = newArray; } if (array.length > size) { array[size] = null; } int index = 0; for (EGenericType eGenericType : getEGenericExceptions()) { @SuppressWarnings("unchecked") T rawType = (T)unwrap(eGenericType); array[index++] = rawType; } return array; } @Override protected String delegateToString() { StringBuffer stringBuffer = new StringBuffer(); stringBuffer.append("["); EList<EGenericType> eGenericExceptions = getEGenericExceptions(); for (int i = 0, size = delegateSize(); i < size; ) { stringBuffer.append(String.valueOf(unwrap(eGenericExceptions.get(i)))); if (++i < size) { stringBuffer.append(", "); } } stringBuffer.append("]"); return stringBuffer.toString(); } @Override protected boolean isInstance(Object object) { return object instanceof EClassifier; } @Override public int getFeatureID() { return EcorePackage.EOPERATION__EEXCEPTIONS; } @Override protected boolean useEquals() { return true; } @Override protected boolean canContainNull() { return false; } @Override protected boolean isUnique() { return true; } @Override protected boolean hasInverse() { return false; } @Override protected boolean hasManyInverse() { return false; } @Override protected boolean hasNavigableInverse() { return false; } @Override protected boolean isEObject() { return true; } @Override protected boolean isContainment() { return false; } @Override protected boolean hasProxies() { return true; } @Override protected boolean hasInstanceClass() { return true; } @Override public boolean isSet() { return isSetEExceptions(); } @Override protected NotificationImpl createNotification(int eventType, Object oldObject, Object newObject, int index, boolean wasSet) { // The notification for this list is being thrown by the // delegating list // return null; } @Override protected void dispatchNotification(Notification notification) { // Do nothing } }; } return eExceptions; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public void unsetEExceptions() { if (eExceptions != null) ((InternalEList.Unsettable<?>)eExceptions).unset(); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated NOT */ public boolean isSetEExceptions() { return eExceptions != null && !eExceptions.isEmpty() && !isSetEGenericExceptions(); }

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

1

    void delegateAdd(int index, EClass eClass)↵

1

    void delegateAdd(int index, EClassifier eClassifier)↵

2

              {↵

2

              {↵

3

                getEGenericSuperTypes().add(index, wrap(eClass));↵

3

                getEGenericExceptions().add(index, wrap(eClassifier));↵

4

              }↵

4

              }↵

5

              @Override↵

5

              @Override↵

6

              protected void delegateClear()↵

6

              protected void delegateClear()↵

7

              {↵

7

              {↵

8

                getEGenericSuperTypes().clear();↵

8

                getEGenericExceptions().clear();↵

9

              }↵

9

              }↵

10

              @Override↵

10

              @Override↵

11

              protected void delegateAdd(EClass eClass)↵

11

              protected void delegateAdd(EClassifier eClassifier)↵

12

              {↵

12

              {↵

13

                getEGenericSuperTypes().add(wrap(eClass));↵

13

                getEGenericExceptions().add(wrap(eClassifier));↵

14

              }↵

14

              }↵

15

              @Override↵

15

              @Override↵

16

              protected boolean delegateContains(Object object)↵

16

              protected boolean delegateContains(Object object)↵

17

              {↵

17

              {↵

18

                for (EClass eClass : this)↵

18

                for (EClassifier eClassifier : this)↵

19

                {↵

19

                {↵

20

                  if (object == eClass)↵

20

                  if (object == eClassifier)↵

21

                  {↵

21

                  {↵

22

                    return true;↵

22

                    return true;↵

23

                  }↵

23

                  }↵

24

                }↵

24

                }↵

25

                return false;↵

25

                return false;↵

26

              }↵

26

              }↵

27

              @Override↵

27

              @Override↵

28

              protected boolean delegateContainsAll(Collection<?> collection)↵

28

              protected boolean delegateContainsAll(Collection<?> collection)↵

29

              {↵

29

              {↵

30

                for (Object object : collection)↵

30

                for (Object object : collection)↵

31

                {↵

31

                {↵

32

                  if (!delegateContains(object))↵

32

                  if (!delegateContains(object))↵

33

                  {↵

33

                  {↵

34

                    return false;↵

34

                    return false;↵

35

                  }↵

35

                  }↵

36

                }↵

36

                }↵

37

                return true;↵

37

                return true;↵

38

              }↵

38

              }↵

39

              @Override↵

39

              @Override↵

40

              protected boolean delegateEquals(Object object)↵

40

              protected boolean delegateEquals(Object object)↵

41

              {↵

41

              {↵

42

                if (object instanceof List)↵

42

                if (object instanceof List)↵

43

                {↵

43

                {↵

44

                  List<?> list = (List<?>)object;↵

44

                  List<?> list = (List<?>)object;↵

45

                  if (list.size() == delegateSize())↵

45

                  if (list.size() == delegateSize())↵

46

                  {↵

46

                  {↵

47

                    for (Iterator<?> i = list.iterator(), j = iterator(); i.hasNext(); )↵

47

                    for (Iterator<?> i = list.iterator(), j = iterator(); i.hasNext(); )↵

48

                    {↵

48

                    {↵

49

                      if (i.next() != j.next())↵

49

                      if (i.next() != j.next())↵

50

                      {↵

50

                      {↵

51

                        return false;↵

51

                        return false;↵

52

                      }↵

52

                      }↵

53

                    }↵

53

                    }↵

54

                    return true;↵

54

                    return true;↵

55

                  }↵

55

                  }↵

56

                }↵

56

                }↵

57

                return false;↵

57

                return false;↵

58

              }↵

58

              }↵

59

              @Override↵

59

              @Override↵

60

              protected EClass delegateGet(int index)↵

60

              protected EClassifier delegateGet(int index)↵

61

              {↵

61

              {↵

62

                EGenericType eGenericType = getEGenericSuperTypes().get(index);↵

62

                EGenericType eGenericType = getEGenericExceptions().get(index);↵

63

                return unwrap(eGenericType);↵

63

                return unwrap(eGenericType);↵

64

              }↵

64

              }↵

65

              @Override↵

65

              @Override↵

66

              protected int delegateHashCode()↵

66

              protected int delegateHashCode()↵

67

              {↵

67

              {↵

68

                int hashCode = 1;↵

68

                int hashCode = 1;↵

69

                for (EGenericType eGenericType : getEGenericSuperTypes())↵

69

                for (EGenericType eGenericType : getEGenericExceptions())↵

70

                {↵

70

                {↵

71

                  Object object = unwrap(eGenericType);↵

71

                  Object object = unwrap(eGenericType);↵

72

                  hashCode = 31 * hashCode + (object == null ? 0 : object.hashCode());↵

72

                  hashCode = 31 * hashCode + (object == null ? 0 : object.hashCode());↵

73

                }↵

73

                }↵

74

                return hashCode;↵

74

                return hashCode;↵

75

              }↵

75

              }↵

76

              @Override↵

76

              @Override↵

77

              protected int delegateIndexOf(Object object)↵

77

              protected int delegateIndexOf(Object object)↵

78

              {↵

78

              {↵

79

                int index = 0;↵

79

                int index = 0;↵

80

                for (EGenericType eGenericType : getEGenericSuperTypes())↵

80

                for (EGenericType eGenericType : getEGenericExceptions())↵

81

                {↵

81

                {↵

82

                  if (object == unwrap(eGenericType))↵

82

                  if (object == unwrap(eGenericType))↵

83

                  {↵

83

                  {↵

84

                    return index;↵

84

                    return index;↵

85

                  }↵

85

                  }↵

86

                  ++index;↵

86

                  ++index;↵

87

                }↵

87

                }↵

88

                return -1;↵

88

                return -1;↵

89

              }↵

89

              }↵

90

              @Override↵

90

              @Override↵

91

              protected boolean delegateIsEmpty()↵

91

              protected boolean delegateIsEmpty()↵

92

              {↵

92

              {↵

93

                return getEGenericSuperTypes().isEmpty();↵

93

                return getEGenericExceptions().isEmpty();↵

94

              }↵

94

              }↵

95

              @Override↵

95

              @Override↵

96

              protected int delegateLastIndexOf(Object object)↵

96

              protected int delegateLastIndexOf(Object object)↵

97

              {↵

97

              {↵

98

                EList<EGenericType> eGenericSuperTypes = getEGenericSuperTypes();↵

98

                EList<EGenericType> eGenericExceptions = getEGenericExceptions();↵

99

                for (int i = eGenericSuperTypes.size() - 1; i >= 0; --i)↵

99

                for (int i = eGenericExceptions.size() - 1; i >= 0; --i)↵

100

                {↵

100

                {↵

101

                  if (unwrap(eGenericSuperTypes.get(i)) == object)↵

101

                  if (unwrap(eGenericExceptions.get(i)) == object)↵

102

                  {↵

102

                  {↵

103

                    return i;↵

103

                    return i;↵

104

                  }↵

104

                  }↵

105

                }↵

105

                }↵

106

                return -1;↵

106

                return -1;↵

107

              }↵

107

              }↵

108

              @Override↵

108

              @Override↵

109

              protected EClass delegateRemove(int index)↵

109

              protected EClassifier delegateRemove(int index)↵

110

              {↵

110

              {↵

111

                EGenericType eGenericType = getEGenericSuperTypes().remove(index);↵

111

                EGenericType eGenericType = getEGenericExceptions().remove(index);↵

112

                return unwrap(eGenericType);↵

112

                return unwrap(eGenericType);↵

113

              }↵

113

              }↵

114

              @Override↵

114

              @Override↵

115

              protected EClass delegateSet(int index, EClass eClass)↵

115

              protected EClassifier delegateSet(int index, EClassifier eClassifier)↵

116

              {↵

116

              {↵

117

                EGenericType eGenericType = getEGenericSuperTypes().get(index);↵

117

                EGenericType eGenericType = getEGenericExceptions().get(index);↵

118

                EClass result = unwrap(eGenericType);↵

118

                EClassifier result = unwrap(eGenericType);↵

119

                // If this is just a proxy being resolved...↵

119

                // If this is just a proxy being resolved...↵

120

                //↵

120

                //↵

121

                if (resolveProxy(result) == eClass)↵

121

                if (resolveProxy(result) == eClassifier)↵

122

                {↵

122

                {↵

123

                  // Force the raw type to be resolved so we don't resolve this endlessly.↵

123

                  // Force the raw type to be resolved so we don't resolve this endlessly.↵

124

                  //↵

124

                  //↵

125

                  eGenericType.getERawType();↵

125

                  eGenericType.getERawType();↵

126

                }↵

126

                }↵

127

                else↵

127

                else↵

128

                {↵

128

                {↵

129

                  // Update the classifier and hence the raw type as normal.↵

129

                  // Update the classifier and hence the raw type as normal.↵

130

                  //↵

130

                  //↵

131

                  eGenericType.setEClassifier(eClass);↵

131

                  eGenericType.setEClassifier(eClassifier);↵

132

                }↵

132

                }↵

133

                return result;↵

133

                return result;↵

134

              }↵

134

              }↵

135

              @Override↵

135

              @Override↵

136

              protected int delegateSize()↵

136

              protected int delegateSize()↵

137

              {↵

137

              {↵

138

                return getEGenericSuperTypes().size();↵

138

                return getEGenericExceptions().size();↵

139

              }↵

139

              }↵

140

              @Override↵

140

              @Override↵

141

              protected Object[] delegateToArray()↵

141

              protected Object[] delegateToArray()↵

142

              {↵

142

              {↵

143

                int size = delegateSize();↵

143

                int size = delegateSize();↵

144

                Object[] result = new Object[size];↵

144

                Object[] result = new Object[size];↵

145

                ↵

145

                ↵

146

                int index = 0;↵

146

                int index = 0;↵

147

                for (EGenericType eGenericType : getEGenericSuperTypes())↵

147

                for (EGenericType eGenericType : getEGenericExceptions())↵

148

                {↵

148

                {↵

149

                  result[index++] = unwrap(eGenericType);↵

149

                  result[index++] = unwrap(eGenericType);↵

150

                }↵

150

                }↵

151

                return result;↵

151

                return result;↵

152

              }↵

152

              }↵

153

              @Override↵

153

              @Override↵

154

              protected <T> T[] delegateToArray(T[] array)↵

154

              protected <T> T[] delegateToArray(T[] array)↵

155

              {↵

155

              {↵

156

                int size = delegateSize();↵

156

                int size = delegateSize();↵

157

                if (array.length < size)↵

157

                if (array.length < size)↵

158

                {↵

158

                {↵

159

                  @SuppressWarnings("unchecked") T[] newArray = (T[])Array.newInstance(array.getClass().getComponentType(), size);↵

159

                  @SuppressWarnings("unchecked") T[] newArray = (T[])Array.newInstance(array.getClass().getComponentType(), size);↵

160

                  array = newArray;↵

160

                  array = newArray;↵

161

                }↵

161

                }↵

162

              ↵

162

              ↵

163

                if (array.length > size)↵

163

                if (array.length > size)↵

164

                {↵

164

                {↵

165

                  array[size] = null;↵

165

                  array[size] = null;↵

166

                }↵

166

                }↵

167

                int index = 0;↵

167

                int index = 0;↵

168

                for (EGenericType eGenericType : getEGenericSuperTypes())↵

168

                for (EGenericType eGenericType : getEGenericExceptions())↵

169

                {↵

169

                {↵

170

                  @SuppressWarnings("unchecked") T rawType = (T)unwrap(eGenericType);↵

170

                  @SuppressWarnings("unchecked") T rawType = (T)unwrap(eGenericType);↵

171

                  array[index++] = rawType;↵

171

                  array[index++] = rawType;↵

172

                }↵

172

                }↵

173

                return array;↵

173

                return array;↵

174

              }↵

174

              }↵

175

              @Override↵

175

              @Override↵

176

              protected String delegateToString()↵

176

              protected String delegateToString()↵

177

              {↵

177

              {↵

178

                StringBuffer stringBuffer = new StringBuffer();↵

178

                StringBuffer stringBuffer = new StringBuffer();↵

179

                stringBuffer.append("[");↵

179

                stringBuffer.append("[");↵

180

                EList<EGenericType> eGenericSuperTypes = getEGenericSuperTypes();↵

180

                EList<EGenericType> eGenericExceptions = getEGenericExceptions();↵

181

                for (int i = 0, size = delegateSize(); i < size; )↵

181

                for (int i = 0, size = delegateSize(); i < size; )↵

182

                {↵

182

                {↵

183

                  stringBuffer.append(String.valueOf(unwrap(eGenericSuperTypes.get(i))));↵

183

                  stringBuffer.append(String.valueOf(unwrap(eGenericExceptions.get(i))));↵

184

                  if (++i < size)↵

184

                  if (++i < size)↵

185

                  {↵

185

                  {↵

186

                    stringBuffer.append(", ");↵

186

                    stringBuffer.append(", ");↵

187

                  }↵

187

                  }↵

188

                }↵

188

                }↵

189

                stringBuffer.append("]");↵

189

                stringBuffer.append("]");↵

190

                return stringBuffer.toString();↵

190

                return stringBuffer.toString();↵

191

              }↵

191

              }↵

192

              @Override↵

192

              @Override↵

193

              protected boolean isInstance(Object object)↵

193

              protected boolean isInstance(Object object)↵

194

              {↵

194

              {↵

195

                return object instanceof EClass;↵

195

                return object instanceof EClassifier;↵

196

              }↵

196

              }↵

197

              @Override↵

197

              @Override↵

198

              public int getFeatureID()↵

198

              public int getFeatureID()↵

199

              {↵

199

              {↵

200

                return EcorePackage.ECLASS__ESUPER_TYPES;↵

200

                return EcorePackage.EOPERATION__EEXCEPTIONS;↵

201

              }↵

201

              }↵

202

              @Override↵

202

              @Override↵

203

              protected boolean useEquals()↵

203

              protected boolean useEquals()↵

204

              {↵

204

              {↵

205

                return true;↵

205

                return true;↵

206

              }↵

206

              }↵

207

              @Override↵

207

              @Override↵

208

              protected boolean canContainNull()↵

208

              protected boolean canContainNull()↵

209

              {↵

209

              {↵

210

                return false;↵

210

                return false;↵

211

              }↵

211

              }↵

212

              @Override↵

212

              @Override↵

213

              protected boolean isUnique()↵

213

              protected boolean isUnique()↵

214

              {↵

214

              {↵

215

                return true;↵

215

                return true;↵

216

              }↵

216

              }↵

217

              @Override↵

217

              @Override↵

218

              protected boolean hasInverse()↵

218

              protected boolean hasInverse()↵

219

              {↵

219

              {↵

220

                return false;↵

220

                return false;↵

221

              }↵

221

              }↵

222

              @Override↵

222

              @Override↵

223

              protected boolean hasManyInverse()↵

223

              protected boolean hasManyInverse()↵

224

              {↵

224

              {↵

225

                return false;↵

225

                return false;↵

226

              }↵

226

              }↵

227

              @Override↵

227

              @Override↵

228

              protected boolean hasNavigableInverse()↵

228

              protected boolean hasNavigableInverse()↵

229

              {↵

229

              {↵

230

                return false;↵

230

                return false;↵

231

              }↵

231

              }↵

232

              @Override↵

232

              @Override↵

233

              protected boolean isEObject()↵

233

              protected boolean isEObject()↵

234

              {↵

234

              {↵

235

                return true;↵

235

                return true;↵

236

              }↵

236

              }↵

237

              @Override↵

237

              @Override↵

238

              protected boolean isContainment()↵

238

              protected boolean isContainment()↵

239

              {↵

239

              {↵

240

                return false;↵

240

                return false;↵

241

              }↵

241

              }↵

242

              @Override↵

242

              @Override↵

243

              protected boolean hasProxies()↵

243

              protected boolean hasProxies()↵

244

              {↵

244

              {↵

245

                return true;↵

245

                return true;↵

246

              }↵

246

              }↵

247

              @Override↵

247

              @Override↵

248

              protected boolean hasInstanceClass()↵

248

              protected boolean hasInstanceClass()↵

249

              {↵

249

              {↵

250

                return true;↵

250

                return true;↵

251

              }↵

251

              }↵

252

              ↵

252

              ↵

253

              @Override↵

253

              @Override↵

254

              public boolean isSet()↵

254

              public boolean isSet()↵

255

              {↵

255

              {↵

256

                return isSetESuperTypes();↵

256

                return isSetEExceptions();↵

257

              }↵

257

              }↵

258

              ↵

258

              ↵

259

              @Override↵

259

              @Override↵

260

              protected NotificationImpl createNotification(int eventType, Object oldObject, Object newObject, int index, boolean wasSet)↵

260

              protected NotificationImpl createNotification(int eventType, Object oldObject, Object newObject, int index, boolean wasSet)↵

261

              {↵

261

              {↵

262

                // The notification for this list is being thrown by the↵

262

                // The notification for this list is being thrown by the↵

263

                // delegating list↵

263

                // delegating list↵

264

                //↵

264

                //↵

265

                return null;↵

265

                return null;↵

266

              }↵

266

              }↵

267

              ↵

267

              ↵

268

              @Override↵

268

              @Override↵

269

              protected void dispatchNotification(Notification notification)↵

269

              protected void dispatchNotification(Notification notification)↵

270

              {↵

270

              {↵

271

                // Do nothing↵

271

                // Do nothing↵

272

              }↵

272

              }          ↵

273

            };↵

273

            };↵

274

        }↵

274

        }↵

275

        return eSuperTypes;↵

275

        return eExceptions;↵

276

      }↵

276

      }↵

277

      ↵

277

      ↵

278

      /**↵

278

      /**↵

279

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

279

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

280

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

280

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

281

       * @generated↵

281

       * @generated↵

282

       */↵

282

       */↵

283

      public void unsetESuperTypes()↵

283

      public void unsetEExceptions()↵

284

      {↵

284

      {↵

285

        if (eSuperTypes != null) ((InternalEList.Unsettable<?>)eSuperTypes).unset();↵

285

        if (eExceptions != null) ((InternalEList.Unsettable<?>)eExceptions).unset();↵

286

      }↵

286

      }↵

287

      /**↵

287

      /**↵

288

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

288

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

289

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

289

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

290

       * @generated NOT↵

290

       * @generated NOT↵

291

       */↵

291

       */↵

292

      public boolean isSetESuperTypes()↵

292

      public boolean isSetEExceptions()↵

293

      {↵

293

      {↵

294

        return  eSuperTypes != null && !eSuperTypes.isEmpty() && !isSetEGenericSuperTypes();↵

294

        return  eExceptions != null && !eExceptions.isEmpty() && !isSetEGenericExceptions();↵

295

      }

295

      }

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