2165-2-3

XMLTypeResourceImpl.DataFrame pushInteger(XMLTypeResourceImpl.StackFrame previous, Attributes attributes) { XMLTypeResourceImpl.DataFrame resultInteger = integer == null ? new XMLTypeResourceImpl.DataFrame() : integer; integer = null; resultInteger.pushOnto(previous); resultInteger.handleAttributes(attributes); return resultInteger; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public BigInteger popInteger(XMLTypeResourceImpl.DataFrame integer) { BigInteger resultIntegerValue = XMLTypeFactory.eINSTANCE.createInteger(integer.popValue()); this.integer = integer; return resultIntegerValue; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public XMLTypeResourceImpl.DataFrame pushIntObject(XMLTypeResourceImpl.StackFrame previous, Attributes attributes) { XMLTypeResourceImpl.DataFrame resultIntObject = intObject == null ? new XMLTypeResourceImpl.DataFrame() : intObject; intObject = null; resultIntObject.pushOnto(previous); resultIntObject.handleAttributes(attributes); return resultIntObject; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public Integer popIntObject(XMLTypeResourceImpl.DataFrame intObject) { Integer resultIntObjectValue = XMLTypeFactory.eINSTANCE.createIntObject(intObject.popValue()); this.intObject = intObject; return resultIntObjectValue; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public 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; }
XMLTypeResourceImpl.DataFrame pushDoubleObject(XMLTypeResourceImpl.StackFrame previous, Attributes attributes) { XMLTypeResourceImpl.DataFrame resultDoubleObject = doubleObject == null ? new XMLTypeResourceImpl.DataFrame() : doubleObject; doubleObject = null; resultDoubleObject.pushOnto(previous); resultDoubleObject.handleAttributes(attributes); return resultDoubleObject; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public Double popDoubleObject(XMLTypeResourceImpl.DataFrame doubleObject) { Double resultDoubleObjectValue = XMLTypeFactory.eINSTANCE.createDoubleObject(doubleObject.popValue()); this.doubleObject = doubleObject; return resultDoubleObjectValue; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public XMLTypeResourceImpl.DataFrame pushDuration(XMLTypeResourceImpl.StackFrame previous, Attributes attributes) { XMLTypeResourceImpl.DataFrame resultDuration = duration == null ? new XMLTypeResourceImpl.DataFrame() : duration; duration = null; resultDuration.pushOnto(previous); resultDuration.handleAttributes(attributes); return resultDuration; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public Duration popDuration(XMLTypeResourceImpl.DataFrame duration) { Duration resultDurationValue = XMLTypeFactory.eINSTANCE.createDuration(duration.popValue()); this.duration = duration; return resultDurationValue; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public XMLTypeResourceImpl.DataFrame pushENTITIES(XMLTypeResourceImpl.StackFrame previous, Attributes attributes) { XMLTypeResourceImpl.DataFrame resultENTITIES = entities == null ? new XMLTypeResourceImpl.DataFrame() : entities; entities = null; resultENTITIES.pushOnto(previous); resultENTITIES.handleAttributes(attributes); return resultENTITIES; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public List<String> popENTITIES(XMLTypeResourceImpl.DataFrame entities) { List<String> resultENTITIESValue = XMLTypeFactory.eINSTANCE.createENTITIES(entities.popValue()); this.entities = entities; return resultENTITIESValue; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public XMLTypeResourceImpl.DataFrame pushENTITIESBase(XMLTypeResourceImpl.StackFrame previous, Attributes attributes) { XMLTypeResourceImpl.DataFrame resultENTITIESBase = entitiesBase == null ? new XMLTypeResourceImpl.DataFrame() : entitiesBase; entitiesBase = null; resultENTITIESBase.pushOnto(previous); resultENTITIESBase.handleAttributes(attributes); return resultENTITIESBase; }

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 pushInteger(XMLTypeResourceImpl.StackFrame previous, Attributes attributes)↵

1

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

2

        {↵

2

        {↵

3

           XMLTypeResourceImpl.DataFrame resultInteger = integer == null ? new XMLTypeResourceImpl.DataFrame() : integer;↵

3

           XMLTypeResourceImpl.DataFrame resultDoubleObject = doubleObject == null ? new XMLTypeResourceImpl.DataFrame() : ↵

4

           integer↵

4

    doubleObject;↵

5

     = null;↵

5

           doubleObject = null;↵

6

           resultInteger.pushOnto(previous);↵

6

           resultDoubleObject.pushOnto(previous);↵

7

           resultInteger.handleAttributes(attributes);↵

7

           resultDoubleObject.handleAttributes(attributes);↵

8

           return resultInteger;↵

8

           return resultDoubleObject;↵

9

        }↵

9

        }↵

10

        /**↵

10

        /**↵

11

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

11

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

12

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

12

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

13

         * @generated↵

13

         * @generated↵

14

         */↵

14

         */↵

15

        public BigInteger popInteger(XMLTypeResourceImpl.DataFrame integer)↵

15

        public Double popDoubleObject(XMLTypeResourceImpl.DataFrame doubleObject)↵

16

        {↵

16

        {↵

17

          BigInteger resultIntegerValue = XMLTypeFactory.eINSTANCE.createInteger(integer.popValue());↵

17

          Double resultDoubleObjectValue = XMLTypeFactory.eINSTANCE.create↵

18

          this.integer = integer↵

18

    DoubleObject(doubleObject.popValue());↵

19

    ;↵

19

          this.doubleObject = doubleObject;↵

20

          return resultIntegerValue;↵

20

          return resultDoubleObjectValue;↵

21

        }↵

21

        }↵

22

        /**↵

22

        /**↵

23

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

23

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

24

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

24

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

25

         * @generated↵

25

         * @generated↵

26

         */↵

26

         */↵

27

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

27

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

28

        {↵

28

        {↵

29

           XMLTypeResourceImpl.DataFrame resultIntObject = intObject == null ? new XMLTypeResourceImpl.DataFrame() : intObject;↵

29

           XMLTypeResourceImpl.DataFrame resultDuration = duration == null ? new XMLTypeResourceImpl.DataFrame() : ↵

30

           intObject↵

30

    duration;↵

31

     = null;↵

31

           duration = null;↵

32

           resultIntObject.pushOnto(previous);↵

32

           resultDuration.pushOnto(previous);↵

33

           resultIntObject.handleAttributes(attributes);↵

33

           resultDuration.handleAttributes(attributes);↵

34

           return resultIntObject;↵

34

           return resultDuration;↵

35

        }↵

35

        }↵

36

        /**↵

36

        /**↵

37

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

37

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

38

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

38

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

39

         * @generated↵

39

         * @generated↵

40

         */↵

40

         */↵

41

        public Integer popIntObject(XMLTypeResourceImpl.DataFrame intObject)↵

41

        public Duration popDuration(XMLTypeResourceImpl.DataFrame duration)↵

42

        {↵

42

        {↵

43

          Integer resultIntObjectValue = XMLTypeFactory.eINSTANCE.createIntObject(intObject.popValue());↵

43

          Duration resultDurationValue = XMLTypeFactory.eINSTANCE.createDuration(duration.popValue());↵

44

          this.intObject = intObject;↵

44

          this.duration = duration;↵

45

          return resultIntObjectValue;↵

45

          return resultDurationValue;↵

46

        }↵

46

        }↵

47

        /**↵

47

        /**↵

48

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

48

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

49

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

49

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

50

         * @generated↵

50

         * @generated↵

51

         */↵

51

         */↵

52

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

52

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

53

        {↵

53

        {↵

54

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

54

           XMLTypeResourceImpl.DataFrame resultENTITIES = entities == null ? new XMLTypeResourceImpl.DataFrame() : entities;↵

55

           language = null;↵

55

           entities = null;↵

56

           resultLanguage.pushOnto(previous);↵

56

           resultENTITIES.pushOnto(previous);↵

57

           resultLanguage.handleAttributes(attributes);↵

57

           resultENTITIES.handleAttributes(attributes);↵

58

           return resultLanguage;↵

58

           return resultENTITIES;↵

59

        }↵

59

        }↵

60

        /**↵

60

        /**↵

61

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

61

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

62

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

62

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

63

         * @generated↵

63

         * @generated↵

64

         */↵

64

         */↵

65

        public String popLanguage(XMLTypeResourceImpl.DataFrame language)↵

65

        public List<String> popENTITIES(XMLTypeResourceImpl.DataFrame entities)↵

66

        {↵

66

        {↵

67

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

67

          List<String> resultENTITIESValue = XMLTypeFactory.eINSTANCE.createENTITIES(entities.popValue());↵

68

          this.language = language;↵

68

          this.entities = entities;↵

69

          return resultLanguageValue;↵

69

          return resultENTITIESValue;↵

70

        }↵

70

        }↵

71

        /**↵

71

        /**↵

72

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

72

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

73

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

73

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

74

         * @generated↵

74

         * @generated↵

75

         */↵

75

         */↵

76

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

76

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

77

        {↵

77

        {↵

78

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

78

           XMLTypeResourceImpl.DataFrame resultENTITIESBase = entitiesBase == null ? new XMLTypeResourceImpl.DataFrame() : ↵

79

           long_↵

79

    entitiesBase;↵

80

     = null;↵

80

           entitiesBase = null;↵

81

           resultLong.pushOnto(previous);↵

81

           resultENTITIESBase.pushOnto(previous);↵

82

           resultLong.handleAttributes(attributes);↵

82

           resultENTITIESBase.handleAttributes(attributes);↵

83

           return resultLong;↵

83

           return resultENTITIESBase;↵

84

        }

84

        }

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