2152-37-41

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; }
XMLTypeResourceImpl.DataFrame pushNonPositiveInteger(XMLTypeResourceImpl.StackFrame previous, Attributes attributes) { XMLTypeResourceImpl.DataFrame resultNonPositiveInteger = nonPositiveInteger == null ? new XMLTypeResourceImpl.DataFrame() : nonPositiveInteger; nonPositiveInteger = null; resultNonPositiveInteger.pushOnto(previous); resultNonPositiveInteger.handleAttributes(attributes); return resultNonPositiveInteger; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public BigInteger popNonPositiveInteger(XMLTypeResourceImpl.DataFrame nonPositiveInteger) { BigInteger resultNonPositiveIntegerValue = XMLTypeFactory.eINSTANCE.createNonPositiveInteger(nonPositiveInteger.popValue()); this.nonPositiveInteger = nonPositiveInteger; return resultNonPositiveIntegerValue; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public XMLTypeResourceImpl.DataFrame pushNormalizedString(XMLTypeResourceImpl.StackFrame previous, Attributes attributes) { XMLTypeResourceImpl.DataFrame resultNormalizedString = normalizedString == null ? new XMLTypeResourceImpl.DataFrame() : normalizedString; normalizedString = null; resultNormalizedString.pushOnto(previous); resultNormalizedString.handleAttributes(attributes); return resultNormalizedString; }

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

1

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

2

        {↵

2

        {↵

3

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

3

           XMLTypeResourceImpl.DataFrame resultNonPositiveInteger = nonPositiveInteger == null ? new XMLTypeResourceImpl.DataFrame() : ↵

4

           gDay↵

4

    nonPositiveInteger;↵

5

     = null;↵

5

           nonPositiveInteger = null;↵

6

           resultGDay.pushOnto(previous);↵

6

           resultNonPositiveInteger.pushOnto(previous);↵

7

           resultGDay.handleAttributes(attributes);↵

7

           resultNonPositiveInteger.handleAttributes(attributes);↵

8

           return resultGDay;↵

8

           return resultNonPositiveInteger;↵

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

15

        public BigInteger popNonPositiveInteger(XMLTypeResourceImpl.DataFrame ↵

16

        {↵

17

          XMLGregorianCalendar resultGDay↵

16

    nonPositiveInteger)↵

17

        {↵

18

    Value = XMLTypeFactory.eINSTANCE.createGDay(gDay.popValue());↵

18

          BigInteger resultNonPositiveIntegerValue = XMLTypeFactory.eINSTANCE.create↵

19

          this.gDay = gDay↵

19

    NonPositiveInteger(nonPositiveInteger.popValue());↵

20

    ;↵

20

          this.nonPositiveInteger = nonPositiveInteger;↵

21

          return resultGDayValue;↵

21

          return resultNonPositiveIntegerValue;↵

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

28

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

29

        {↵

29

        {↵

30

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

30

           XMLTypeResourceImpl.DataFrame resultNormalizedString = normalizedString == null ? new XMLTypeResourceImpl.DataFrame() : ↵

31

           gMonth↵

31

    normalizedString;↵

32

     = null;↵

32

           normalizedString = null;↵

33

           resultGMonth.pushOnto(previous);↵

33

           resultNormalizedString.pushOnto(previous);↵

34

           resultGMonth.handleAttributes(attributes);↵

34

           resultNormalizedString.handleAttributes(attributes);↵

35

           return resultGMonth;↵

35

           return resultNormalizedString;↵

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