2152-39-44

XMLTypeResourceImpl.DataFrame pushUnsignedIntObject(XMLTypeResourceImpl.StackFrame previous, Attributes attributes) { XMLTypeResourceImpl.DataFrame resultUnsignedIntObject = unsignedIntObject == null ? new XMLTypeResourceImpl.DataFrame() : unsignedIntObject; unsignedIntObject = null; resultUnsignedIntObject.pushOnto(previous); resultUnsignedIntObject.handleAttributes(attributes); return resultUnsignedIntObject; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public Long popUnsignedIntObject(XMLTypeResourceImpl.DataFrame unsignedIntObject) { Long resultUnsignedIntObjectValue = XMLTypeFactory.eINSTANCE.createUnsignedIntObject(unsignedIntObject.popValue()); this.unsignedIntObject = unsignedIntObject; return resultUnsignedIntObjectValue; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public XMLTypeResourceImpl.DataFrame pushUnsignedLong(XMLTypeResourceImpl.StackFrame previous, Attributes attributes) { XMLTypeResourceImpl.DataFrame resultUnsignedLong = unsignedLong == null ? new XMLTypeResourceImpl.DataFrame() : unsignedLong; unsignedLong = null; resultUnsignedLong.pushOnto(previous); resultUnsignedLong.handleAttributes(attributes); return resultUnsignedLong; }
XMLTypeResourceImpl.DataFrame pushTime(XMLTypeResourceImpl.StackFrame previous, Attributes attributes) { XMLTypeResourceImpl.DataFrame resultTime = time == null ? new XMLTypeResourceImpl.DataFrame() : time; time = null; resultTime.pushOnto(previous); resultTime.handleAttributes(attributes); return resultTime; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public XMLGregorianCalendar popTime(XMLTypeResourceImpl.DataFrame time) { XMLGregorianCalendar resultTimeValue = XMLTypeFactory.eINSTANCE.createTime(time.popValue()); this.time = time; return resultTimeValue; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public 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; }

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

1

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

2

        {↵

2

        {↵

3

           XMLTypeResourceImpl.DataFrame resultUnsignedIntObject = unsignedIntObject == null ? new XMLTypeResourceImpl.DataFrame() : unsignedIntObject;↵

3

           XMLTypeResourceImpl.DataFrame resultTime = time == null ? new XMLTypeResourceImpl.DataFrame() : ↵

4

           unsignedIntObject↵

4

    time;↵

5

     = null;↵

5

           time = null;↵

6

           resultUnsignedIntObject.pushOnto(previous);↵

6

           resultTime.pushOnto(previous);↵

7

           resultUnsignedIntObject.handleAttributes(attributes);↵

7

           resultTime.handleAttributes(attributes);↵

8

           return resultUnsignedIntObject;↵

8

           return resultTime;↵

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 Long popUnsignedIntObject(XMLTypeResourceImpl.DataFrame unsignedIntObject)↵

15

        public XMLGregorianCalendar popTime(XMLTypeResourceImpl.DataFrame ↵

16

        {↵

17

          Long resultUnsignedIntObject↵

16

    time)↵

17

        {↵

18

    Value = XMLTypeFactory.eINSTANCE.createUnsignedIntObject(unsignedIntObject.popValue());↵

18

          XMLGregorianCalendar resultTimeValue = XMLTypeFactory.eINSTANCE.create↵

19

          this.unsignedIntObject = unsignedIntObject↵

19

    Time(time.popValue());↵

20

    ;↵

20

          this.time = time;↵

21

          return resultUnsignedIntObjectValue;↵

21

          return resultTimeValue;↵

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

28

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

29

        {↵

29

        {↵

30

           XMLTypeResourceImpl.DataFrame resultUnsignedLong = unsignedLong == null ? new XMLTypeResourceImpl.DataFrame() : unsignedLong;↵

30

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

31

           unsignedLong↵

31

    token;↵

32

     = null;↵

32

           token = null;↵

33

           resultUnsignedLong.pushOnto(previous);↵

33

           resultToken.pushOnto(previous);↵

34

           resultUnsignedLong.handleAttributes(attributes);↵

34

           resultToken.handleAttributes(attributes);↵

35

           return resultUnsignedLong;↵

35

           return resultToken;↵

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