2152-13-17

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 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; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public XMLGregorianCalendar popGMonthDay(XMLTypeResourceImpl.DataFrame gMonthDay) { XMLGregorianCalendar resultGMonthDayValue = XMLTypeFactory.eINSTANCE.createGMonthDay(gMonthDay.popValue()); this.gMonthDay = gMonthDay; return resultGMonthDayValue; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public XMLTypeResourceImpl.DataFrame pushGYear(XMLTypeResourceImpl.StackFrame previous, Attributes attributes) { XMLTypeResourceImpl.DataFrame resultGYear = gYear == null ? new XMLTypeResourceImpl.DataFrame() : gYear; gYear = null; resultGYear.pushOnto(previous); resultGYear.handleAttributes(attributes); return resultGYear; }

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

1

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

2

        {↵

2

        {↵

3

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

3

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

4

           unsignedByteObject↵

4

    gMonthDay;↵

5

     = null;↵

5

           gMonthDay = null;↵

6

           resultUnsignedByteObject.pushOnto(previous);↵

6

           resultGMonthDay.pushOnto(previous);↵

7

           resultUnsignedByteObject.handleAttributes(attributes);↵

7

           resultGMonthDay.handleAttributes(attributes);↵

8

           return resultUnsignedByteObject;↵

8

           return resultGMonthDay;↵

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 Short popUnsignedByteObject(XMLTypeResourceImpl.DataFrame unsignedByteObject)↵

15

        public XMLGregorianCalendar popGMonthDay(XMLTypeResourceImpl.DataFrame ↵

16

        {↵

17

          Short resultUnsignedByteObject↵

16

    gMonthDay)↵

17

        {↵

18

    Value = XMLTypeFactory.eINSTANCE.createUnsignedByteObject(unsignedByteObject.popValue());↵

18

          XMLGregorianCalendar resultGMonthDayValue = XMLTypeFactory.eINSTANCE.create↵

19

          this.unsignedByteObject = unsignedByteObject↵

19

    GMonthDay(gMonthDay.popValue());↵

20

    ;↵

20

          this.gMonthDay = gMonthDay;↵

21

          return resultUnsignedByteObjectValue;↵

21

          return resultGMonthDayValue;↵

22

        }↵

22

        }↵

23

        /**↵

23

        /**↵

24

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

24

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

25

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

25

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

26

         * @generated↵

26

         * @generated↵

27

         */↵

27

         */↵

28

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

28

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

29

        {↵

29

        {↵

30

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

30

           XMLTypeResourceImpl.DataFrame resultGYear = gYear == null ? new XMLTypeResourceImpl.DataFrame() : ↵

31

           unsignedInt↵

31

    gYear;↵

32

     = null;↵

32

           gYear = null;↵

33

           resultUnsignedInt.pushOnto(previous);↵

33

           resultGYear.pushOnto(previous);↵

34

           resultUnsignedInt.handleAttributes(attributes);↵

34

           resultGYear.handleAttributes(attributes);↵

35

           return resultUnsignedInt;↵

35

           return resultGYear;↵

36

        }

36

        }

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