2162-1-5

XMLTypeResourceImpl.DataFrame pushFloatObject(XMLTypeResourceImpl.StackFrame previous, Attributes attributes) { XMLTypeResourceImpl.DataFrame resultFloatObject = floatObject == null ? new XMLTypeResourceImpl.DataFrame() : floatObject; floatObject = null; resultFloatObject.pushOnto(previous); resultFloatObject.handleAttributes(attributes); return resultFloatObject; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public Float popFloatObject(XMLTypeResourceImpl.DataFrame floatObject) { Float resultFloatObjectValue = XMLTypeFactory.eINSTANCE.createFloatObject(floatObject.popValue()); this.floatObject = floatObject; return resultFloatObjectValue; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public XMLTypeResourceImpl.DataFrame pushGDay(XMLTypeResourceImpl.StackFrame previous, Attributes attributes) { XMLTypeResourceImpl.DataFrame resultGDay = gDay == null ? new XMLTypeResourceImpl.DataFrame() : gDay; gDay = null; resultGDay.pushOnto(previous); resultGDay.handleAttributes(attributes); return resultGDay; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public XMLGregorianCalendar popGDay(XMLTypeResourceImpl.DataFrame gDay) { XMLGregorianCalendar resultGDayValue = XMLTypeFactory.eINSTANCE.createGDay(gDay.popValue()); this.gDay = gDay; return resultGDayValue; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public XMLTypeResourceImpl.DataFrame pushGMonth(XMLTypeResourceImpl.StackFrame previous, Attributes attributes) { XMLTypeResourceImpl.DataFrame resultGMonth = gMonth == null ? new XMLTypeResourceImpl.DataFrame() : gMonth; gMonth = null; resultGMonth.pushOnto(previous); resultGMonth.handleAttributes(attributes); return resultGMonth; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public XMLGregorianCalendar popGMonth(XMLTypeResourceImpl.DataFrame gMonth) { XMLGregorianCalendar resultGMonthValue = XMLTypeFactory.eINSTANCE.createGMonth(gMonth.popValue()); this.gMonth = gMonth; return resultGMonthValue; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public XMLTypeResourceImpl.DataFrame pushGMonthDay(XMLTypeResourceImpl.StackFrame previous, Attributes attributes) { XMLTypeResourceImpl.DataFrame resultGMonthDay = gMonthDay == null ? new XMLTypeResourceImpl.DataFrame() : gMonthDay; gMonthDay = null; resultGMonthDay.pushOnto(previous); resultGMonthDay.handleAttributes(attributes); return resultGMonthDay; }
XMLTypeResourceImpl.DataFrame pushIDREF(XMLTypeResourceImpl.StackFrame previous, Attributes attributes) { XMLTypeResourceImpl.DataFrame resultIDREF = idref == null ? new XMLTypeResourceImpl.DataFrame() : idref; idref = null; resultIDREF.pushOnto(previous); resultIDREF.handleAttributes(attributes); return resultIDREF; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public String popIDREF(XMLTypeResourceImpl.DataFrame idref) { String resultIDREFValue = XMLTypeFactory.eINSTANCE.createIDREF(idref.popValue()); this.idref = idref; return resultIDREFValue; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public XMLTypeResourceImpl.DataFrame pushIDREFS(XMLTypeResourceImpl.StackFrame previous, Attributes attributes) { XMLTypeResourceImpl.DataFrame resultIDREFS = idrefs == null ? new XMLTypeResourceImpl.DataFrame() : idrefs; idrefs = null; resultIDREFS.pushOnto(previous); resultIDREFS.handleAttributes(attributes); return resultIDREFS; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public List<String> popIDREFS(XMLTypeResourceImpl.DataFrame idrefs) { List<String> resultIDREFSValue = XMLTypeFactory.eINSTANCE.createIDREFS(idrefs.popValue()); this.idrefs = idrefs; return resultIDREFSValue; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public XMLTypeResourceImpl.DataFrame pushIDREFSBase(XMLTypeResourceImpl.StackFrame previous, Attributes attributes) { XMLTypeResourceImpl.DataFrame resultIDREFSBase = idrefsBase == null ? new XMLTypeResourceImpl.DataFrame() : idrefsBase; idrefsBase = null; resultIDREFSBase.pushOnto(previous); resultIDREFSBase.handleAttributes(attributes); return resultIDREFSBase; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public List<String> popIDREFSBase(XMLTypeResourceImpl.DataFrame idrefsBase) { List<String> resultIDREFSBaseValue = XMLTypeFactory.eINSTANCE.createIDREFSBase(idrefsBase.popValue()); this.idrefsBase = idrefsBase; return resultIDREFSBaseValue; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public XMLTypeResourceImpl.DataFrame pushInt(XMLTypeResourceImpl.StackFrame previous, Attributes attributes) { XMLTypeResourceImpl.DataFrame resultInt = int_ == null ? new XMLTypeResourceImpl.DataFrame() : int_; int_ = null; resultInt.pushOnto(previous); resultInt.handleAttributes(attributes); return resultInt; }

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

1

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

2

        {↵

2

        {↵

3

           XMLTypeResourceImpl.DataFrame resultFloatObject = floatObject == null ? new XMLTypeResourceImpl.DataFrame() : floatObject;↵

3

           XMLTypeResourceImpl.DataFrame resultIDREF = idref == null ? new XMLTypeResourceImpl.DataFrame() : ↵

4

           floatObject↵

4

    idref;↵

5

     = null;↵

5

           idref = null;↵

6

           resultFloatObject.pushOnto(previous);↵

6

           resultIDREF.pushOnto(previous);↵

7

           resultFloatObject.handleAttributes(attributes);↵

7

           resultIDREF.handleAttributes(attributes);↵

8

           return resultFloatObject;↵

8

           return resultIDREF;↵

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 Float popFloatObject(XMLTypeResourceImpl.DataFrame floatObject)↵

15

        public String popIDREF(XMLTypeResourceImpl.DataFrame idref)↵

16

        {↵

16

        {↵

17

          Float resultFloatObjectValue = XMLTypeFactory.eINSTANCE.createFloatObject(floatObject.popValue());↵

17

          String resultIDREFValue = XMLTypeFactory.eINSTANCE.createIDREF(idref.popValue());↵

18

          this.floatObject = floatObject;↵

18

          this.idref = idref;↵

19

          return resultFloatObjectValue;↵

19

          return resultIDREFValue;↵

20

        }↵

20

        }↵

21

        /**↵

21

        /**↵

22

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

22

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

23

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

23

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

24

         * @generated↵

24

         * @generated↵

25

         */↵

25

         */↵

26

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

26

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

27

        {↵

27

        {↵

28

           XMLTypeResourceImpl.DataFrame resultGDay = gDay == null ? new XMLTypeResourceImpl.DataFrame() : gDay;↵

28

           XMLTypeResourceImpl.DataFrame resultIDREFS = idrefs == null ? new XMLTypeResourceImpl.DataFrame() : idrefs;↵

29

           gDay = null;↵

29

           idrefs = null;↵

30

           resultGDay.pushOnto(previous);↵

30

           resultIDREFS.pushOnto(previous);↵

31

           resultGDay.handleAttributes(attributes);↵

31

           resultIDREFS.handleAttributes(attributes);↵

32

           return resultGDay;↵

32

           return resultIDREFS;↵

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 XMLGregorianCalendar popGDay(XMLTypeResourceImpl.DataFrame gDay)↵

39

        public List<String> popIDREFS(XMLTypeResourceImpl.DataFrame idrefs)↵

40

        {↵

40

        {↵

41

          XMLGregorianCalendar resultGDayValue = XMLTypeFactory.eINSTANCE.createGDay(gDay.popValue());↵

41

          List<String> resultIDREFSValue = XMLTypeFactory.eINSTANCE.createIDREFS(idrefs.popValue());↵

42

          this.gDay = gDay;↵

42

          this.idrefs = idrefs;↵

43

          return resultGDayValue;↵

43

          return resultIDREFSValue;↵

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

50

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

51

        {↵

51

        {↵

52

           XMLTypeResourceImpl.DataFrame resultGMonth = gMonth == null ? new XMLTypeResourceImpl.DataFrame() : gMonth;↵

52

           XMLTypeResourceImpl.DataFrame resultIDREFSBase = idrefsBase == null ? new XMLTypeResourceImpl.DataFrame() : ↵

53

           gMonth↵

53

    idrefsBase;↵

54

     = null;↵

54

           idrefsBase = null;↵

55

           resultGMonth.pushOnto(previous);↵

55

           resultIDREFSBase.pushOnto(previous);↵

56

           resultGMonth.handleAttributes(attributes);↵

56

           resultIDREFSBase.handleAttributes(attributes);↵

57

           return resultGMonth;↵

57

           return resultIDREFSBase;↵

58

        }↵

58

        }↵

59

        /**↵

59

        /**↵

60

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

60

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

61

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

61

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

62

         * @generated↵

62

         * @generated↵

63

         */↵

63

         */↵

64

        public XMLGregorianCalendar popGMonth(XMLTypeResourceImpl.DataFrame gMonth)↵

64

        public List<String> popIDREFSBase(XMLTypeResourceImpl.DataFrame idrefsBase)↵

65

        {↵

65

        {↵

66

          XMLGregorianCalendar resultGMonthValue = XMLTypeFactory.eINSTANCE.createGMonth(gMonth.popValue());↵

66

          List<String> resultIDREFSBaseValue = XMLTypeFactory.eINSTANCE.createIDREFSBase(idrefsBase.popValue());↵

67

          this.gMonth = gMonth;↵

67

          this.idrefsBase = idrefsBase;↵

68

          return resultGMonthValue;↵

68

          return resultIDREFSBaseValue;↵

69

        }↵

69

        }↵

70

        /**↵

70

        /**↵

71

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

71

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

72

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

72

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

73

         * @generated↵

73

         * @generated↵

74

         */↵

74

         */↵

75

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

75

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

76

        {↵

76

        {↵

77

           XMLTypeResourceImpl.DataFrame resultGMonthDay = gMonthDay == null ? new XMLTypeResourceImpl.DataFrame() : gMonthDay;↵

77

           XMLTypeResourceImpl.DataFrame resultInt = int_ == null ? new XMLTypeResourceImpl.DataFrame() : ↵

78

           gMonthDay↵

78

    int_;↵

79

     = null;↵

79

           int_ = null;↵

80

           resultGMonthDay.pushOnto(previous);↵

80

           resultInt.pushOnto(previous);↵

81

           resultGMonthDay.handleAttributes(attributes);↵

81

           resultInt.handleAttributes(attributes);↵

82

           return resultGMonthDay;↵

82

           return resultInt;↵

83

        }

83

        }

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