2152-2-37

XMLTypeResourceImpl.DataFrame pushNegativeInteger(XMLTypeResourceImpl.StackFrame previous, Attributes attributes) { XMLTypeResourceImpl.DataFrame resultNegativeInteger = negativeInteger == null ? new XMLTypeResourceImpl.DataFrame() : negativeInteger; negativeInteger = null; resultNegativeInteger.pushOnto(previous); resultNegativeInteger.handleAttributes(attributes); return resultNegativeInteger; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public BigInteger popNegativeInteger(XMLTypeResourceImpl.DataFrame negativeInteger) { BigInteger resultNegativeIntegerValue = XMLTypeFactory.eINSTANCE.createNegativeInteger(negativeInteger.popValue()); this.negativeInteger = negativeInteger; return resultNegativeIntegerValue; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public XMLTypeResourceImpl.DataFrame pushNMTOKEN(XMLTypeResourceImpl.StackFrame previous, Attributes attributes) { XMLTypeResourceImpl.DataFrame resultNMTOKEN = nmtoken == null ? new XMLTypeResourceImpl.DataFrame() : nmtoken; nmtoken = null; resultNMTOKEN.pushOnto(previous); resultNMTOKEN.handleAttributes(attributes); return resultNMTOKEN; }
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; }

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

1

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

2

        {↵

2

        {↵

3

           XMLTypeResourceImpl.DataFrame resultNegativeInteger = negativeInteger == null ? new XMLTypeResourceImpl.DataFrame() : negativeInteger;↵

3

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

4

           negativeInteger↵

4

    gDay;↵

5

     = null;↵

5

           gDay = null;↵

6

           resultNegativeInteger.pushOnto(previous);↵

6

           resultGDay.pushOnto(previous);↵

7

           resultNegativeInteger.handleAttributes(attributes);↵

7

           resultGDay.handleAttributes(attributes);↵

8

           return resultNegativeInteger;↵

8

           return resultGDay;↵

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 popNegativeInteger(XMLTypeResourceImpl.DataFrame negativeInteger)↵

15

        public XMLGregorianCalendar popGDay(XMLTypeResourceImpl.DataFrame ↵

16

        {↵

17

          BigInteger resultNegativeInteger↵

16

    gDay)↵

17

        {↵

18

    Value = XMLTypeFactory.eINSTANCE.createNegativeInteger(negativeInteger.popValue());↵

18

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

19

          this.negativeInteger = negativeInteger;↵

19

          this.gDay = gDay;↵

20

          return resultNegativeIntegerValue;↵

20

          return resultGDayValue;↵

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

27

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

28

        {↵

28

        {↵

29

           XMLTypeResourceImpl.DataFrame resultNMTOKEN = nmtoken == null ? new XMLTypeResourceImpl.DataFrame() : nmtoken;↵

29

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

30

           nmtoken = null;↵

30

           gMonth = null;↵

31

           resultNMTOKEN.pushOnto(previous);↵

31

           resultGMonth.pushOnto(previous);↵

32

           resultNMTOKEN.handleAttributes(attributes);↵

32

           resultGMonth.handleAttributes(attributes);↵

33

           return resultNMTOKEN;↵

33

           return resultGMonth;↵

34

        }

34

        }

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