2152-7-35

XMLTypeResourceImpl.DataFrame pushDuration(XMLTypeResourceImpl.StackFrame previous, Attributes attributes) { XMLTypeResourceImpl.DataFrame resultDuration = duration == null ? new XMLTypeResourceImpl.DataFrame() : duration; duration = null; resultDuration.pushOnto(previous); resultDuration.handleAttributes(attributes); return resultDuration; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public Duration popDuration(XMLTypeResourceImpl.DataFrame duration) { Duration resultDurationValue = XMLTypeFactory.eINSTANCE.createDuration(duration.popValue()); this.duration = duration; return resultDurationValue; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public XMLTypeResourceImpl.DataFrame pushENTITIES(XMLTypeResourceImpl.StackFrame previous, Attributes attributes) { XMLTypeResourceImpl.DataFrame resultENTITIES = entities == null ? new XMLTypeResourceImpl.DataFrame() : entities; entities = null; resultENTITIES.pushOnto(previous); resultENTITIES.handleAttributes(attributes); return resultENTITIES; }
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; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public BigDecimal popDecimal(XMLTypeResourceImpl.DataFrame decimal) { BigDecimal resultDecimalValue = XMLTypeFactory.eINSTANCE.createDecimal(decimal.popValue()); this.decimal = decimal; return resultDecimalValue; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public XMLTypeResourceImpl.DataFrame pushDouble(XMLTypeResourceImpl.StackFrame previous, Attributes attributes) { XMLTypeResourceImpl.DataFrame resultDouble = double_ == null ? new XMLTypeResourceImpl.DataFrame() : double_; double_ = null; resultDouble.pushOnto(previous); resultDouble.handleAttributes(attributes); return resultDouble; }

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

1

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

2

        {↵

2

        {↵

3

           XMLTypeResourceImpl.DataFrame resultDuration = duration == null ? new XMLTypeResourceImpl.DataFrame() : duration;↵

3

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

4

           duration = null;↵

4

           decimal = null;↵

5

           resultDuration.pushOnto(previous);↵

5

           resultDecimal.pushOnto(previous);↵

6

           resultDuration.handleAttributes(attributes);↵

6

           resultDecimal.handleAttributes(attributes);↵

7

           return resultDuration;↵

7

           return resultDecimal;↵

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 Duration popDuration(XMLTypeResourceImpl.DataFrame duration)↵

14

        public BigDecimal popDecimal(XMLTypeResourceImpl.DataFrame decimal)↵

15

        {↵

15

        {↵

16

          Duration resultDurationValue = XMLTypeFactory.eINSTANCE.createDuration(duration.popValue());↵

16

          BigDecimal resultDecimalValue = XMLTypeFactory.eINSTANCE.createDecimal(decimal.popValue());↵

17

          this.duration = duration;↵

17

          this.decimal = decimal;↵

18

          return resultDurationValue;↵

18

          return resultDecimalValue;↵

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

25

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

26

        {↵

26

        {↵

27

           XMLTypeResourceImpl.DataFrame resultENTITIES = entities == null ? new XMLTypeResourceImpl.DataFrame() : entities;↵

27

           XMLTypeResourceImpl.DataFrame resultDouble = double_ == null ? new XMLTypeResourceImpl.DataFrame() : double_;↵

28

           entities = null;↵

28

           double_ = null;↵

29

           resultENTITIES.pushOnto(previous);↵

29

           resultDouble.pushOnto(previous);↵

30

           resultENTITIES.handleAttributes(attributes);↵

30

           resultDouble.handleAttributes(attributes);↵

31

           return resultENTITIES;↵

31

           return resultDouble;↵

32

        }

32

        }

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