13-2-3

switch (featureID) { case EcorePackage.EATTRIBUTE__EANNOTATIONS: return eAnnotations != null && !eAnnotations.isEmpty(); case EcorePackage.EATTRIBUTE__NAME: return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); case EcorePackage.EATTRIBUTE__ORDERED: return ((eFlags & ORDERED_EFLAG) != 0) != ORDERED_EDEFAULT; case EcorePackage.EATTRIBUTE__UNIQUE: return ((eFlags & UNIQUE_EFLAG) != 0) != UNIQUE_EDEFAULT; case EcorePackage.EATTRIBUTE__LOWER_BOUND: return lowerBound != LOWER_BOUND_EDEFAULT; case EcorePackage.EATTRIBUTE__UPPER_BOUND: return upperBound != UPPER_BOUND_EDEFAULT; case EcorePackage.EATTRIBUTE__MANY: return isMany() != MANY_EDEFAULT; case EcorePackage.EATTRIBUTE__REQUIRED: return isRequired() != REQUIRED_EDEFAULT; case EcorePackage.EATTRIBUTE__ETYPE: return isSetEType(); case EcorePackage.EATTRIBUTE__EGENERIC_TYPE: return isSetEGenericType(); case EcorePackage.EATTRIBUTE__CHANGEABLE: return ((eFlags & CHANGEABLE_EFLAG) != 0) != CHANGEABLE_EDEFAULT; case EcorePackage.EATTRIBUTE__VOLATILE: return ((eFlags & VOLATILE_EFLAG) != 0) != VOLATILE_EDEFAULT; case EcorePackage.EATTRIBUTE__TRANSIENT: return ((eFlags & TRANSIENT_EFLAG) != 0) != TRANSIENT_EDEFAULT; case EcorePackage.EATTRIBUTE__DEFAULT_VALUE_LITERAL: return DEFAULT_VALUE_LITERAL_EDEFAULT == null ? defaultValueLiteral != null : !DEFAULT_VALUE_LITERAL_EDEFAULT.equals(defaultValueLiteral); case EcorePackage.EATTRIBUTE__DEFAULT_VALUE: return DEFAULT_VALUE_EDEFAULT == null ? getDefaultValue() != null : !DEFAULT_VALUE_EDEFAULT.equals(getDefaultValue()); case EcorePackage.EATTRIBUTE__UNSETTABLE: return ((eFlags & UNSETTABLE_EFLAG) != 0) != UNSETTABLE_EDEFAULT; case EcorePackage.EATTRIBUTE__DERIVED: return ((eFlags & DERIVED_EFLAG) != 0) != DERIVED_EDEFAULT; case EcorePackage.EATTRIBUTE__ECONTAINING_CLASS: return getEContainingClass() != null; case EcorePackage.EATTRIBUTE__ID: return ((eFlags & ID_EFLAG) != 0) != ID_EDEFAULT; case EcorePackage.EATTRIBUTE__EATTRIBUTE_TYPE: return basicGetEAttributeType() != null; } return eDynamicIsSet(featureID);
switch (featureID) { case EcorePackage.ESTRUCTURAL_FEATURE__EANNOTATIONS: return eAnnotations != null && !eAnnotations.isEmpty(); case EcorePackage.ESTRUCTURAL_FEATURE__NAME: return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); case EcorePackage.ESTRUCTURAL_FEATURE__ORDERED: return ((eFlags & ORDERED_EFLAG) != 0) != ORDERED_EDEFAULT; case EcorePackage.ESTRUCTURAL_FEATURE__UNIQUE: return ((eFlags & UNIQUE_EFLAG) != 0) != UNIQUE_EDEFAULT; case EcorePackage.ESTRUCTURAL_FEATURE__LOWER_BOUND: return lowerBound != LOWER_BOUND_EDEFAULT; case EcorePackage.ESTRUCTURAL_FEATURE__UPPER_BOUND: return upperBound != UPPER_BOUND_EDEFAULT; case EcorePackage.ESTRUCTURAL_FEATURE__MANY: return isMany() != MANY_EDEFAULT; case EcorePackage.ESTRUCTURAL_FEATURE__REQUIRED: return isRequired() != REQUIRED_EDEFAULT; case EcorePackage.ESTRUCTURAL_FEATURE__ETYPE: return isSetEType(); case EcorePackage.ESTRUCTURAL_FEATURE__EGENERIC_TYPE: return isSetEGenericType(); case EcorePackage.ESTRUCTURAL_FEATURE__CHANGEABLE: return ((eFlags & CHANGEABLE_EFLAG) != 0) != CHANGEABLE_EDEFAULT; case EcorePackage.ESTRUCTURAL_FEATURE__VOLATILE: return ((eFlags & VOLATILE_EFLAG) != 0) != VOLATILE_EDEFAULT; case EcorePackage.ESTRUCTURAL_FEATURE__TRANSIENT: return ((eFlags & TRANSIENT_EFLAG) != 0) != TRANSIENT_EDEFAULT; case EcorePackage.ESTRUCTURAL_FEATURE__DEFAULT_VALUE_LITERAL: return DEFAULT_VALUE_LITERAL_EDEFAULT == null ? defaultValueLiteral != null : !DEFAULT_VALUE_LITERAL_EDEFAULT.equals(defaultValueLiteral); case EcorePackage.ESTRUCTURAL_FEATURE__DEFAULT_VALUE: return DEFAULT_VALUE_EDEFAULT == null ? getDefaultValue() != null : !DEFAULT_VALUE_EDEFAULT.equals(getDefaultValue()); case EcorePackage.ESTRUCTURAL_FEATURE__UNSETTABLE: return ((eFlags & UNSETTABLE_EFLAG) != 0) != UNSETTABLE_EDEFAULT; case EcorePackage.ESTRUCTURAL_FEATURE__DERIVED: return ((eFlags & DERIVED_EFLAG) != 0) != DERIVED_EDEFAULT; case EcorePackage.ESTRUCTURAL_FEATURE__ECONTAINING_CLASS: return getEContainingClass() != null; } return eDynamicIsSet(featureID);

Clone fragments detected by clone detection tool
File path: /emf-2.4.1/src/org/eclipse/emf/ecore/impl/EAttributeImpl.java |  | File path: /emf-2.4.1/src/org/eclipse/emf/ecore/impl/EStructuralFeatureImpl.java
Method name: `boolean eIsSet(int)` |  | Method name: `boolean eIsSet(int)`
Number of AST nodes: 42 |  | Number of AST nodes: 38

1

    switch (featureID)↵

1

    switch (featureID)↵

2

        {↵

2

        {↵

3

          case EcorePackage.EATTRIBUTE__EANNOTATIONS:↵

3

          case EcorePackage.ESTRUCTURAL_FEATURE__EANNOTATIONS:↵

4

            return eAnnotations != null && !eAnnotations.isEmpty();↵

4

            return eAnnotations != null && !eAnnotations.isEmpty();↵

5

          case EcorePackage.EATTRIBUTE__NAME:↵

5

          case EcorePackage.ESTRUCTURAL_FEATURE__NAME:↵

6

            return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);↵

6

            return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);↵

7

          case EcorePackage.EATTRIBUTE__ORDERED:↵

7

          case EcorePackage.ESTRUCTURAL_FEATURE__ORDERED:↵

8

            return ((eFlags & ORDERED_EFLAG) != 0) != ORDERED_EDEFAULT;↵

8

            return ((eFlags & ORDERED_EFLAG) != 0) != ORDERED_EDEFAULT;↵

9

          case EcorePackage.EATTRIBUTE__UNIQUE:↵

9

          case EcorePackage.ESTRUCTURAL_FEATURE__UNIQUE:↵

10

            return ((eFlags & UNIQUE_EFLAG) != 0) != UNIQUE_EDEFAULT;↵

10

            return ((eFlags & UNIQUE_EFLAG) != 0) != UNIQUE_EDEFAULT;↵

11

          case EcorePackage.EATTRIBUTE__LOWER_BOUND:↵

11

          case EcorePackage.ESTRUCTURAL_FEATURE__LOWER_BOUND:↵

12

            return lowerBound != LOWER_BOUND_EDEFAULT;↵

12

            return lowerBound != LOWER_BOUND_EDEFAULT;↵

13

          case EcorePackage.EATTRIBUTE__UPPER_BOUND:↵

13

          case EcorePackage.ESTRUCTURAL_FEATURE__UPPER_BOUND:↵

14

            return upperBound != UPPER_BOUND_EDEFAULT;↵

14

            return upperBound != UPPER_BOUND_EDEFAULT;↵

15

          case EcorePackage.EATTRIBUTE__MANY:↵

15

          case EcorePackage.ESTRUCTURAL_FEATURE__MANY:↵

16

            return isMany() != MANY_EDEFAULT;↵

16

            return isMany() != MANY_EDEFAULT;↵

17

          case EcorePackage.EATTRIBUTE__REQUIRED:↵

17

          case EcorePackage.ESTRUCTURAL_FEATURE__REQUIRED:↵

18

            return isRequired() != REQUIRED_EDEFAULT;↵

18

            return isRequired() != REQUIRED_EDEFAULT;↵

19

          case EcorePackage.EATTRIBUTE__ETYPE:↵

19

          case EcorePackage.ESTRUCTURAL_FEATURE__ETYPE:↵

20

            return isSetEType();↵

20

            return isSetEType();↵

21

          case EcorePackage.EATTRIBUTE__EGENERIC_TYPE:↵

21

          case EcorePackage.ESTRUCTURAL_FEATURE__EGENERIC_TYPE:↵

22

            return isSetEGenericType();↵

22

            return isSetEGenericType();↵

23

          case EcorePackage.EATTRIBUTE__CHANGEABLE:↵

23

          case EcorePackage.ESTRUCTURAL_FEATURE__CHANGEABLE:↵

24

            return ((eFlags & CHANGEABLE_EFLAG) != 0) != CHANGEABLE_EDEFAULT;↵

24

            return ((eFlags & CHANGEABLE_EFLAG) != 0) != CHANGEABLE_EDEFAULT;↵

25

          case EcorePackage.EATTRIBUTE__VOLATILE:↵

25

          case EcorePackage.ESTRUCTURAL_FEATURE__VOLATILE:↵

26

            return ((eFlags & VOLATILE_EFLAG) != 0) != VOLATILE_EDEFAULT;↵

26

            return ((eFlags & VOLATILE_EFLAG) != 0) != VOLATILE_EDEFAULT;↵

27

          case EcorePackage.EATTRIBUTE__TRANSIENT:↵

27

          case EcorePackage.ESTRUCTURAL_FEATURE__TRANSIENT:↵

28

            return ((eFlags & TRANSIENT_EFLAG) != 0) != TRANSIENT_EDEFAULT;↵

28

            return ((eFlags & TRANSIENT_EFLAG) != 0) != TRANSIENT_EDEFAULT;↵

29

          case EcorePackage.EATTRIBUTE__DEFAULT_VALUE_LITERAL:↵

29

          case EcorePackage.ESTRUCTURAL_FEATURE__DEFAULT_VALUE_LITERAL:↵

30

            return DEFAULT_VALUE_LITERAL_EDEFAULT == null ? defaultValueLiteral != null : !DEFAULT_VALUE_LITERAL_EDEFAULT.equals(defaultValueLiteral);↵

30

            return DEFAULT_VALUE_LITERAL_EDEFAULT == null ? defaultValueLiteral != null : !DEFAULT_VALUE_LITERAL_EDEFAULT.equals(defaultValueLiteral);↵

31

          case EcorePackage.EATTRIBUTE__DEFAULT_VALUE:↵

31

          case EcorePackage.ESTRUCTURAL_FEATURE__DEFAULT_VALUE:↵

32

            return DEFAULT_VALUE_EDEFAULT == null ? getDefaultValue() != null : !DEFAULT_VALUE_EDEFAULT.equals(getDefaultValue());↵

32

            return DEFAULT_VALUE_EDEFAULT == null ? getDefaultValue() != null : !DEFAULT_VALUE_EDEFAULT.equals(getDefaultValue());↵

33

          case EcorePackage.EATTRIBUTE__UNSETTABLE:↵

33

          case EcorePackage.ESTRUCTURAL_FEATURE__UNSETTABLE:↵

34

            return ((eFlags & UNSETTABLE_EFLAG) != 0) != UNSETTABLE_EDEFAULT;↵

34

            return ((eFlags & UNSETTABLE_EFLAG) != 0) != UNSETTABLE_EDEFAULT;↵

35

          case EcorePackage.EATTRIBUTE__DERIVED:↵

35

          case EcorePackage.ESTRUCTURAL_FEATURE__DERIVED:↵

36

            return ((eFlags & DERIVED_EFLAG) != 0) != DERIVED_EDEFAULT;↵

36

            return ((eFlags & DERIVED_EFLAG) != 0) != DERIVED_EDEFAULT;↵

37

          case EcorePackage.EATTRIBUTE__ECONTAINING_CLASS:↵

37

          case EcorePackage.ESTRUCTURAL_FEATURE__ECONTAINING_CLASS:↵

38

            return getEContainingClass() != null;↵

38

            return getEContainingClass() != null;↵

39

          case EcorePackage.EATTRIBUTE__ID:↵

40

            return ((eFlags & ID_EFLAG) != 0) != ID_EDEFAULT;↵

41

          case EcorePackage.EATTRIBUTE__EATTRIBUTE_TYPE:↵

42

            return basicGetEAttributeType() != null;↵

43

        }↵

39

        }↵

44

        return eDynamicIsSet(featureID);

40

        return eDynamicIsSet(featureID);

See real code fragment |  | See real code fragment

Summary
Number of common nesting structure subtrees | 1
Number of refactorable cases | 0
Number of non-refactorable cases | 1
Time elapsed for finding largest common nesting structure subtrees (ms) | 0.1
Clones location | Clones are in different classes having the same super class
Number of node comparisons | 686

1. {Non-refactorable}

   Mapping Summary
   Number of mapped statements | 38
   Number of unmapped statements in the first code fragment | 4
   Number of unmapped statements in the second code fragment | 0
   Time elapsed for statement mapping (ms) | 50.0
   Clone type | Type 3

   Mapped Statements
   ID | Statement |  | ID | Statement
   --- | --- | --- | --- | ---

   1

       switch (featureID)

   1

       switch (featureID)

   2

       case EcorePackage.EATTRIBUTE__EANNOTATIONS:

   2 | case EcorePackage.EATTRIBUTE__EANNOTATIONS:
   2 | case EcorePackage.ESTRUCTURAL_FEATURE__EANNOTATIONS:

   Differences
   Expression1 | Expression2 | Difference
   --- | --- | ---
   EATTRIBUTE__EANNOTATIONS | ESTRUCTURAL_FEATURE__EANNOTATIONS | VARIABLE_NAME_MISMATCH

   2

       case EcorePackage.ESTRUCTURAL_FEATURE__EANNOTATIONS:

   3

       return eAnnotations != null && !eAnnotations.isEmpty();

   3

       return eAnnotations != null && !eAnnotations.isEmpty();

   4

       case EcorePackage.EATTRIBUTE__NAME:

   4 | case EcorePackage.EATTRIBUTE__NAME:
   4 | case EcorePackage.ESTRUCTURAL_FEATURE__NAME:

   Differences
   Expression1 | Expression2 | Difference
   --- | --- | ---
   EATTRIBUTE__NAME | ESTRUCTURAL_FEATURE__NAME | VARIABLE_NAME_MISMATCH

   4

       case EcorePackage.ESTRUCTURAL_FEATURE__NAME:

   5

       return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);

   5

       return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);

   6

       case EcorePackage.EATTRIBUTE__ORDERED:

   6 | case EcorePackage.EATTRIBUTE__ORDERED:
   6 | case EcorePackage.ESTRUCTURAL_FEATURE__ORDERED:

   Differences
   Expression1 | Expression2 | Difference
   --- | --- | ---
   EATTRIBUTE__ORDERED | ESTRUCTURAL_FEATURE__ORDERED | VARIABLE_NAME_MISMATCH

   6

       case EcorePackage.ESTRUCTURAL_FEATURE__ORDERED:

   7

       return ((eFlags & ORDERED_EFLAG) != 0) != ORDERED_EDEFAULT;

   7

       return ((eFlags & ORDERED_EFLAG) != 0) != ORDERED_EDEFAULT;

   8

       case EcorePackage.EATTRIBUTE__UNIQUE:

   8 | case EcorePackage.EATTRIBUTE__UNIQUE:
   8 | case EcorePackage.ESTRUCTURAL_FEATURE__UNIQUE:

   Differences
   Expression1 | Expression2 | Difference
   --- | --- | ---
   EATTRIBUTE__UNIQUE | ESTRUCTURAL_FEATURE__UNIQUE | VARIABLE_NAME_MISMATCH

   8

       case EcorePackage.ESTRUCTURAL_FEATURE__UNIQUE:

   9

       return ((eFlags & UNIQUE_EFLAG) != 0) != UNIQUE_EDEFAULT;

   9

       return ((eFlags & UNIQUE_EFLAG) != 0) != UNIQUE_EDEFAULT;

   10

       case EcorePackage.EATTRIBUTE__LOWER_BOUND:

   10 | case EcorePackage.EATTRIBUTE__LOWER_BOUND:
   10 | case EcorePackage.ESTRUCTURAL_FEATURE__LOWER_BOUND:

   Differences
   Expression1 | Expression2 | Difference
   --- | --- | ---
   EATTRIBUTE__LOWER_BOUND | ESTRUCTURAL_FEATURE__LOWER_BOUND | VARIABLE_NAME_MISMATCH

   10

       case EcorePackage.ESTRUCTURAL_FEATURE__LOWER_BOUND:

   11

       return lowerBound != LOWER_BOUND_EDEFAULT;

   11

       return lowerBound != LOWER_BOUND_EDEFAULT;

   12

       case EcorePackage.EATTRIBUTE__UPPER_BOUND:

   12 | case EcorePackage.EATTRIBUTE__UPPER_BOUND:
   12 | case EcorePackage.ESTRUCTURAL_FEATURE__UPPER_BOUND:

   Differences
   Expression1 | Expression2 | Difference
   --- | --- | ---
   EATTRIBUTE__UPPER_BOUND | ESTRUCTURAL_FEATURE__UPPER_BOUND | VARIABLE_NAME_MISMATCH

   12

       case EcorePackage.ESTRUCTURAL_FEATURE__UPPER_BOUND:

   13

       return upperBound != UPPER_BOUND_EDEFAULT;

   13

       return upperBound != UPPER_BOUND_EDEFAULT;

   14

       case EcorePackage.EATTRIBUTE__MANY:

   14 | case EcorePackage.EATTRIBUTE__MANY:
   14 | case EcorePackage.ESTRUCTURAL_FEATURE__MANY:

   Differences
   Expression1 | Expression2 | Difference
   --- | --- | ---
   EATTRIBUTE__MANY | ESTRUCTURAL_FEATURE__MANY | VARIABLE_NAME_MISMATCH

   14

       case EcorePackage.ESTRUCTURAL_FEATURE__MANY:

   15

       return isMany() != MANY_EDEFAULT;

   15

       return isMany() != MANY_EDEFAULT;

   16

       case EcorePackage.EATTRIBUTE__REQUIRED:

   16 | case EcorePackage.EATTRIBUTE__REQUIRED:
   16 | case EcorePackage.ESTRUCTURAL_FEATURE__REQUIRED:

   Differences
   Expression1 | Expression2 | Difference
   --- | --- | ---
   EATTRIBUTE__REQUIRED | ESTRUCTURAL_FEATURE__REQUIRED | VARIABLE_NAME_MISMATCH

   16

       case EcorePackage.ESTRUCTURAL_FEATURE__REQUIRED:

   17

       return isRequired() != REQUIRED_EDEFAULT;

   17

       return isRequired() != REQUIRED_EDEFAULT;

   18

       case EcorePackage.EATTRIBUTE__ETYPE:

   18 | case EcorePackage.EATTRIBUTE__ETYPE:
   18 | case EcorePackage.ESTRUCTURAL_FEATURE__ETYPE:

   Differences
   Expression1 | Expression2 | Difference
   --- | --- | ---
   EATTRIBUTE__ETYPE | ESTRUCTURAL_FEATURE__ETYPE | VARIABLE_NAME_MISMATCH

   18

       case EcorePackage.ESTRUCTURAL_FEATURE__ETYPE:

   19

       return isSetEType();

   19

       return isSetEType();

   20

       case EcorePackage.EATTRIBUTE__EGENERIC_TYPE:

   20 | case EcorePackage.EATTRIBUTE__EGENERIC_TYPE:
   20 | case EcorePackage.ESTRUCTURAL_FEATURE__EGENERIC_TYPE:

   Differences
   Expression1 | Expression2 | Difference
   --- | --- | ---
   EATTRIBUTE__EGENERIC_TYPE | ESTRUCTURAL_FEATURE__EGENERIC_TYPE | VARIABLE_NAME_MISMATCH

   20

       case EcorePackage.ESTRUCTURAL_FEATURE__EGENERIC_TYPE:

   21

       return isSetEGenericType();

   21

       return isSetEGenericType();

   22

       case EcorePackage.EATTRIBUTE__CHANGEABLE:

   22 | case EcorePackage.EATTRIBUTE__CHANGEABLE:
   22 | case EcorePackage.ESTRUCTURAL_FEATURE__CHANGEABLE:

   Differences
   Expression1 | Expression2 | Difference
   --- | --- | ---
   EATTRIBUTE__CHANGEABLE | ESTRUCTURAL_FEATURE__CHANGEABLE | VARIABLE_NAME_MISMATCH

   22

       case EcorePackage.ESTRUCTURAL_FEATURE__CHANGEABLE:

   23

       return ((eFlags & CHANGEABLE_EFLAG) != 0) != CHANGEABLE_EDEFAULT;

   23

       return ((eFlags & CHANGEABLE_EFLAG) != 0) != CHANGEABLE_EDEFAULT;

   24

       case EcorePackage.EATTRIBUTE__VOLATILE:

   24 | case EcorePackage.EATTRIBUTE__VOLATILE:
   24 | case EcorePackage.ESTRUCTURAL_FEATURE__VOLATILE:

   Differences
   Expression1 | Expression2 | Difference
   --- | --- | ---
   EATTRIBUTE__VOLATILE | ESTRUCTURAL_FEATURE__VOLATILE | VARIABLE_NAME_MISMATCH

   24

       case EcorePackage.ESTRUCTURAL_FEATURE__VOLATILE:

   25

       return ((eFlags & VOLATILE_EFLAG) != 0) != VOLATILE_EDEFAULT;

   25

       return ((eFlags & VOLATILE_EFLAG) != 0) != VOLATILE_EDEFAULT;

   26

       case EcorePackage.EATTRIBUTE__TRANSIENT:

   26 | case EcorePackage.EATTRIBUTE__TRANSIENT:
   26 | case EcorePackage.ESTRUCTURAL_FEATURE__TRANSIENT:

   Differences
   Expression1 | Expression2 | Difference
   --- | --- | ---
   EATTRIBUTE__TRANSIENT | ESTRUCTURAL_FEATURE__TRANSIENT | VARIABLE_NAME_MISMATCH

   26

       case EcorePackage.ESTRUCTURAL_FEATURE__TRANSIENT:

   27

       return ((eFlags & TRANSIENT_EFLAG) != 0) != TRANSIENT_EDEFAULT;

   27

       return ((eFlags & TRANSIENT_EFLAG) != 0) != TRANSIENT_EDEFAULT;

   28

       case EcorePackage.EATTRIBUTE__DEFAULT_VALUE_LITERAL:

   28 | case EcorePackage.EATTRIBUTE__DEFAULT_VALUE_LITERAL:
   28 | case EcorePackage.ESTRUCTURAL_FEATURE__DEFAULT_VALUE_LITERAL:

   Differences
   Expression1 | Expression2 | Difference
   --- | --- | ---
   EATTRIBUTE__DEFAULT_VALUE_LITERAL | ESTRUCTURAL_FEATURE__DEFAULT_VALUE_LITERAL | VARIABLE_NAME_MISMATCH

   28

       case EcorePackage.ESTRUCTURAL_FEATURE__DEFAULT_VALUE_LITERAL:

   29

       return DEFAULT_VALUE_LITERAL_EDEFAULT == null ? defaultValueLiteral != null : !DEFAULT_VALUE_LITERAL_EDEFAULT.equals(defaultValueLiteral);

   29

       return DEFAULT_VALUE_LITERAL_EDEFAULT == null ? defaultValueLiteral != null : !DEFAULT_VALUE_LITERAL_EDEFAULT.equals(defaultValueLiteral);

   30

       case EcorePackage.EATTRIBUTE__DEFAULT_VALUE:

   30 | case EcorePackage.EATTRIBUTE__DEFAULT_VALUE:
   30 | case EcorePackage.ESTRUCTURAL_FEATURE__DEFAULT_VALUE:

   Differences
   Expression1 | Expression2 | Difference
   --- | --- | ---
   EATTRIBUTE__DEFAULT_VALUE | ESTRUCTURAL_FEATURE__DEFAULT_VALUE | VARIABLE_NAME_MISMATCH

   30

       case EcorePackage.ESTRUCTURAL_FEATURE__DEFAULT_VALUE:

   31

       return DEFAULT_VALUE_EDEFAULT == null ? getDefaultValue() != null : !DEFAULT_VALUE_EDEFAULT.equals(getDefaultValue());

   31

       return DEFAULT_VALUE_EDEFAULT == null ? getDefaultValue() != null : !DEFAULT_VALUE_EDEFAULT.equals(getDefaultValue());

   32

       case EcorePackage.EATTRIBUTE__UNSETTABLE:

   32 | case EcorePackage.EATTRIBUTE__UNSETTABLE:
   32 | case EcorePackage.ESTRUCTURAL_FEATURE__UNSETTABLE:

   Differences
   Expression1 | Expression2 | Difference
   --- | --- | ---
   EATTRIBUTE__UNSETTABLE | ESTRUCTURAL_FEATURE__UNSETTABLE | VARIABLE_NAME_MISMATCH

   32

       case EcorePackage.ESTRUCTURAL_FEATURE__UNSETTABLE:

   33

       return ((eFlags & UNSETTABLE_EFLAG) != 0) != UNSETTABLE_EDEFAULT;

   33

       return ((eFlags & UNSETTABLE_EFLAG) != 0) != UNSETTABLE_EDEFAULT;

   34

       case EcorePackage.EATTRIBUTE__DERIVED:

   34 | case EcorePackage.EATTRIBUTE__DERIVED:
   34 | case EcorePackage.ESTRUCTURAL_FEATURE__DERIVED:

   Differences
   Expression1 | Expression2 | Difference
   --- | --- | ---
   EATTRIBUTE__DERIVED | ESTRUCTURAL_FEATURE__DERIVED | VARIABLE_NAME_MISMATCH

   34

       case EcorePackage.ESTRUCTURAL_FEATURE__DERIVED:

   35

       return ((eFlags & DERIVED_EFLAG) != 0) != DERIVED_EDEFAULT;

   35

       return ((eFlags & DERIVED_EFLAG) != 0) != DERIVED_EDEFAULT;

   36

       case EcorePackage.EATTRIBUTE__ECONTAINING_CLASS:

   36 | case EcorePackage.EATTRIBUTE__ECONTAINING_CLASS:
   36 | case EcorePackage.ESTRUCTURAL_FEATURE__ECONTAINING_CLASS:

   Differences
   Expression1 | Expression2 | Difference
   --- | --- | ---
   EATTRIBUTE__ECONTAINING_CLASS | ESTRUCTURAL_FEATURE__ECONTAINING_CLASS | VARIABLE_NAME_MISMATCH

   36

       case EcorePackage.ESTRUCTURAL_FEATURE__ECONTAINING_CLASS:

   37

       return getEContainingClass() != null;

   37

       return getEContainingClass() != null;

   38

       case EcorePackage.EATTRIBUTE__ID:

   39

       return ((eFlags & ID_EFLAG) != 0) != ID_EDEFAULT;

   39 | return ((eFlags & ID_EFLAG) != 0) != ID_EDEFAULT;

   Preondition Violations
   Unmatched return ((eFlags & ID_EFLAG) != 0) != ID_EDEFAULT;

   40

       case EcorePackage.EATTRIBUTE__EATTRIBUTE_TYPE:

   41

       return basicGetEAttributeType() != null;

   41 | return basicGetEAttributeType() != null;

   Preondition Violations
   Unmatched return basicGetEAttributeType() != null;

   42

       return eDynamicIsSet(featureID);

   38

       return eDynamicIsSet(featureID);

   Precondition Violations (2)
   Row | Violation
   --- | ---
   1 | Unmatched return ((eFlags & ID_EFLAG) != 0) != ID_EDEFAULT;
   2 | Unmatched return basicGetEAttributeType() != null;