2170-2-5

XMLTypeResourceImpl.DataFrame pushToken(XMLTypeResourceImpl.StackFrame previous, Attributes attributes) { XMLTypeResourceImpl.DataFrame resultToken = token == null ? new XMLTypeResourceImpl.DataFrame() : token; token = null; resultToken.pushOnto(previous); resultToken.handleAttributes(attributes); return resultToken; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public String popToken(XMLTypeResourceImpl.DataFrame token) { String resultTokenValue = XMLTypeFactory.eINSTANCE.createToken(token.popValue()); this.token = token; return resultTokenValue; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public XMLTypeResourceImpl.DataFrame pushUnsignedByte(XMLTypeResourceImpl.StackFrame previous, Attributes attributes) { XMLTypeResourceImpl.DataFrame resultUnsignedByte = unsignedByte == null ? new XMLTypeResourceImpl.DataFrame() : unsignedByte; unsignedByte = null; resultUnsignedByte.pushOnto(previous); resultUnsignedByte.handleAttributes(attributes); return resultUnsignedByte; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public short popUnsignedByte(XMLTypeResourceImpl.DataFrame unsignedByte) { short resultUnsignedByteValue = XMLTypeFactory.eINSTANCE.createUnsignedByte(unsignedByte.popValue()); this.unsignedByte = unsignedByte; return resultUnsignedByteValue; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public XMLTypeResourceImpl.DataFrame pushUnsignedByteObject(XMLTypeResourceImpl.StackFrame previous, Attributes attributes) { XMLTypeResourceImpl.DataFrame resultUnsignedByteObject = unsignedByteObject == null ? new XMLTypeResourceImpl.DataFrame() : unsignedByteObject; unsignedByteObject = null; resultUnsignedByteObject.pushOnto(previous); resultUnsignedByteObject.handleAttributes(attributes); return resultUnsignedByteObject; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public Short popUnsignedByteObject(XMLTypeResourceImpl.DataFrame unsignedByteObject) { Short resultUnsignedByteObjectValue = XMLTypeFactory.eINSTANCE.createUnsignedByteObject(unsignedByteObject.popValue()); this.unsignedByteObject = unsignedByteObject; return resultUnsignedByteObjectValue; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public XMLTypeResourceImpl.DataFrame pushUnsignedInt(XMLTypeResourceImpl.StackFrame previous, Attributes attributes) { XMLTypeResourceImpl.DataFrame resultUnsignedInt = unsignedInt == null ? new XMLTypeResourceImpl.DataFrame() : unsignedInt; unsignedInt = null; resultUnsignedInt.pushOnto(previous); resultUnsignedInt.handleAttributes(attributes); return resultUnsignedInt; }
XMLTypeResourceImpl.DataFrame pushLanguage(XMLTypeResourceImpl.StackFrame previous, Attributes attributes) { XMLTypeResourceImpl.DataFrame resultLanguage = language == null ? new XMLTypeResourceImpl.DataFrame() : language; language = null; resultLanguage.pushOnto(previous); resultLanguage.handleAttributes(attributes); return resultLanguage; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public String popLanguage(XMLTypeResourceImpl.DataFrame language) { String resultLanguageValue = XMLTypeFactory.eINSTANCE.createLanguage(language.popValue()); this.language = language; return resultLanguageValue; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public XMLTypeResourceImpl.DataFrame pushLong(XMLTypeResourceImpl.StackFrame previous, Attributes attributes) { XMLTypeResourceImpl.DataFrame resultLong = long_ == null ? new XMLTypeResourceImpl.DataFrame() : long_; long_ = null; resultLong.pushOnto(previous); resultLong.handleAttributes(attributes); return resultLong; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public long popLong(XMLTypeResourceImpl.DataFrame long_) { long resultLongValue = XMLTypeFactory.eINSTANCE.createLong(long_.popValue()); this.long_ = long_; return resultLongValue; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public XMLTypeResourceImpl.DataFrame pushLongObject(XMLTypeResourceImpl.StackFrame previous, Attributes attributes) { XMLTypeResourceImpl.DataFrame resultLongObject = longObject == null ? new XMLTypeResourceImpl.DataFrame() : longObject; longObject = null; resultLongObject.pushOnto(previous); resultLongObject.handleAttributes(attributes); return resultLongObject; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public Long popLongObject(XMLTypeResourceImpl.DataFrame longObject) { Long resultLongObjectValue = XMLTypeFactory.eINSTANCE.createLongObject(longObject.popValue()); this.longObject = longObject; return resultLongObjectValue; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public XMLTypeResourceImpl.DataFrame pushName(XMLTypeResourceImpl.StackFrame previous, Attributes attributes) { XMLTypeResourceImpl.DataFrame resultName = name == null ? new XMLTypeResourceImpl.DataFrame() : name; name = null; resultName.pushOnto(previous); resultName.handleAttributes(attributes); return resultName; }

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

1

    XMLTypeResourceImpl.DataFrame pushToken(XMLTypeResourceImpl.StackFrame previous, Attributes attributes)↵

1

    XMLTypeResourceImpl.DataFrame pushLanguage(XMLTypeResourceImpl.StackFrame previous, Attributes attributes)↵

2

        {↵

2

        {↵

3

           XMLTypeResourceImpl.DataFrame resultToken = token == null ? new XMLTypeResourceImpl.DataFrame() : token;↵

3

           XMLTypeResourceImpl.DataFrame resultLanguage = language == null ? new XMLTypeResourceImpl.DataFrame() : language;↵

4

           token = null;↵

4

           language = null;↵

5

           resultToken.pushOnto(previous);↵

5

           resultLanguage.pushOnto(previous);↵

6

           resultToken.handleAttributes(attributes);↵

6

           resultLanguage.handleAttributes(attributes);↵

7

           return resultToken;↵

7

           return resultLanguage;↵

8

        }↵

8

        }↵

9

        /**↵

9

        /**↵

10

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

10

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

11

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

11

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

12

         * @generated↵

12

         * @generated↵

13

         */↵

13

         */↵

14

        public String popToken(XMLTypeResourceImpl.DataFrame token)↵

14

        public String popLanguage(XMLTypeResourceImpl.DataFrame language)↵

15

        {↵

15

        {↵

16

          String resultTokenValue = XMLTypeFactory.eINSTANCE.createToken(token.popValue());↵

16

          String resultLanguageValue = XMLTypeFactory.eINSTANCE.createLanguage(language.popValue());↵

17

          this.token = token;↵

17

          this.language = language;↵

18

          return resultTokenValue;↵

18

          return resultLanguageValue;↵

19

        }↵

19

        }↵

20

        /**↵

20

        /**↵

21

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

21

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

22

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

22

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

23

         * @generated↵

23

         * @generated↵

24

         */↵

24

         */↵

25

        public XMLTypeResourceImpl.DataFrame pushUnsignedByte(XMLTypeResourceImpl.StackFrame previous, Attributes attributes)↵

25

        public XMLTypeResourceImpl.DataFrame pushLong(XMLTypeResourceImpl.StackFrame previous, Attributes attributes)↵

26

        {↵

26

        {↵

27

           XMLTypeResourceImpl.DataFrame resultUnsignedByte = unsignedByte == null ? new XMLTypeResourceImpl.DataFrame() : unsignedByte;↵

27

           XMLTypeResourceImpl.DataFrame resultLong = long_ == null ? new XMLTypeResourceImpl.DataFrame() : ↵

28

           unsignedByte↵

28

    long_;↵

29

     = null;↵

29

           long_ = null;↵

30

           resultUnsignedByte.pushOnto(previous);↵

30

           resultLong.pushOnto(previous);↵

31

           resultUnsignedByte.handleAttributes(attributes);↵

31

           resultLong.handleAttributes(attributes);↵

32

           return resultUnsignedByte;↵

32

           return resultLong;↵

33

        }↵

33

        }↵

34

        /**↵

34

        /**↵

35

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

35

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

36

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

36

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

37

         * @generated↵

37

         * @generated↵

38

         */↵

38

         */↵

39

        public short popUnsignedByte(XMLTypeResourceImpl.DataFrame unsignedByte)↵

39

        public long popLong(XMLTypeResourceImpl.DataFrame long_)↵

40

        {↵

40

        {↵

41

          short resultUnsignedByteValue = XMLTypeFactory.eINSTANCE.createUnsignedByte(unsignedByte.popValue());↵

41

          long resultLongValue = XMLTypeFactory.eINSTANCE.createLong(long_.popValue());↵

42

          this.unsignedByte = unsignedByte;↵

42

          this.long_ = long_;↵

43

          return resultUnsignedByteValue;↵

43

          return resultLongValue;↵

44

        }↵

44

        }↵

45

        /**↵

45

        /**↵

46

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

46

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

47

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

47

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

48

         * @generated↵

48

         * @generated↵

49

         */↵

49

         */↵

50

        public XMLTypeResourceImpl.DataFrame pushUnsignedByteObject(XMLTypeResourceImpl.StackFrame previous, Attributes attributes)↵

50

        public XMLTypeResourceImpl.DataFrame pushLongObject(XMLTypeResourceImpl.StackFrame previous, Attributes attributes)↵

51

        {↵

51

        {↵

52

           XMLTypeResourceImpl.DataFrame resultUnsignedByteObject = unsignedByteObject == null ? new XMLTypeResourceImpl.DataFrame() : unsignedByteObject;↵

52

           XMLTypeResourceImpl.DataFrame resultLongObject = longObject == null ? new XMLTypeResourceImpl.DataFrame() : longObject;↵

53

           unsignedByteObject = null;↵

53

           longObject = null;↵

54

           resultUnsignedByteObject.pushOnto(previous);↵

54

           resultLongObject.pushOnto(previous);↵

55

           resultUnsignedByteObject.handleAttributes(attributes);↵

55

           resultLongObject.handleAttributes(attributes);↵

56

           return resultUnsignedByteObject;↵

56

           return resultLongObject;↵

57

        }↵

57

        }↵

58

        /**↵

58

        /**↵

59

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

59

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

60

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

60

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

61

         * @generated↵

61

         * @generated↵

62

         */↵

62

         */↵

63

        public Short popUnsignedByteObject(XMLTypeResourceImpl.DataFrame unsignedByteObject)↵

63

        public Long popLongObject(XMLTypeResourceImpl.DataFrame longObject)↵

64

        {↵

64

        {↵

65

          Short resultUnsignedByteObjectValue = XMLTypeFactory.eINSTANCE.createUnsignedByteObject(unsignedByteObject.popValue());↵

65

          Long resultLongObjectValue = XMLTypeFactory.eINSTANCE.createLongObject(longObject.popValue());↵

66

          this.unsignedByteObject = unsignedByteObject;↵

66

          this.longObject = longObject;↵

67

          return resultUnsignedByteObjectValue;↵

67

          return resultLongObjectValue;↵

68

        }↵

68

        }↵

69

        /**↵

69

        /**↵

70

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

70

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

71

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

71

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

72

         * @generated↵

72

         * @generated↵

73

         */↵

73

         */↵

74

        public XMLTypeResourceImpl.DataFrame pushUnsignedInt(XMLTypeResourceImpl.StackFrame previous, Attributes attributes)↵

74

        public XMLTypeResourceImpl.DataFrame pushName(XMLTypeResourceImpl.StackFrame previous, Attributes attributes)↵

75

        {↵

75

        {↵

76

           XMLTypeResourceImpl.DataFrame resultUnsignedInt = unsignedInt == null ? new XMLTypeResourceImpl.DataFrame() : unsignedInt;↵

76

           XMLTypeResourceImpl.DataFrame resultName = name == null ? new XMLTypeResourceImpl.DataFrame() : ↵

77

           unsignedInt↵

77

    name;↵

78

     = null;↵

78

           name = null;↵

79

           resultUnsignedInt.pushOnto(previous);↵

79

           resultName.pushOnto(previous);↵

80

           resultUnsignedInt.handleAttributes(attributes);↵

80

           resultName.handleAttributes(attributes);↵

81

           return resultUnsignedInt;↵

81

           return resultName;↵

82

        }

82

        }

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