2152-1-24

XMLTypeResourceImpl.DataFrame pushDateTime(XMLTypeResourceImpl.StackFrame previous, Attributes attributes) { XMLTypeResourceImpl.DataFrame resultDateTime = dateTime == null ? new XMLTypeResourceImpl.DataFrame() : dateTime; dateTime = null; resultDateTime.pushOnto(previous); resultDateTime.handleAttributes(attributes); return resultDateTime; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public XMLGregorianCalendar popDateTime(XMLTypeResourceImpl.DataFrame dateTime) { XMLGregorianCalendar resultDateTimeValue = XMLTypeFactory.eINSTANCE.createDateTime(dateTime.popValue()); this.dateTime = dateTime; return resultDateTimeValue; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public XMLTypeResourceImpl.DataFrame pushDecimal(XMLTypeResourceImpl.StackFrame previous, Attributes attributes) { XMLTypeResourceImpl.DataFrame resultDecimal = decimal == null ? new XMLTypeResourceImpl.DataFrame() : decimal; decimal = null; resultDecimal.pushOnto(previous); resultDecimal.handleAttributes(attributes); return resultDecimal; }
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; }

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

1

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

2

        {↵

2

        {↵

3

           XMLTypeResourceImpl.DataFrame resultDateTime = dateTime == null ? new XMLTypeResourceImpl.DataFrame() : dateTime;↵

3

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

4

           dateTime = null;↵

4

           integer = null;↵

5

           resultDateTime.pushOnto(previous);↵

5

           resultInteger.pushOnto(previous);↵

6

           resultDateTime.handleAttributes(attributes);↵

6

           resultInteger.handleAttributes(attributes);↵

7

           return resultDateTime;↵

7

           return resultInteger;↵

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 XMLGregorianCalendar popDateTime(XMLTypeResourceImpl.DataFrame dateTime)↵

14

        public BigInteger popInteger(XMLTypeResourceImpl.DataFrame integer)↵

15

        {↵

15

        {↵

16

          XMLGregorianCalendar resultDateTimeValue = XMLTypeFactory.eINSTANCE.createDateTime(dateTime.popValue());↵

16

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

17

          this.dateTime = dateTime;↵

17

          this.integer = integer;↵

18

          return resultDateTimeValue;↵

18

          return resultIntegerValue;↵

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

25

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

26

        {↵

26

        {↵

27

           XMLTypeResourceImpl.DataFrame resultDecimal = decimal == null ? new XMLTypeResourceImpl.DataFrame() : decimal;↵

27

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

28

           decimal↵

28

    intObject;↵

29

     = null;↵

29

           intObject = null;↵

30

           resultDecimal.pushOnto(previous);↵

30

           resultIntObject.pushOnto(previous);↵

31

           resultDecimal.handleAttributes(attributes);↵

31

           resultIntObject.handleAttributes(attributes);↵

32

           return resultDecimal;↵

32

           return resultIntObject;↵

33

        }

33

        }

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