2152-15-25

XMLTypeResourceImpl.DataFrame pushDoubleObject(XMLTypeResourceImpl.StackFrame previous, Attributes attributes) { XMLTypeResourceImpl.DataFrame resultDoubleObject = doubleObject == null ? new XMLTypeResourceImpl.DataFrame() : doubleObject; doubleObject = null; resultDoubleObject.pushOnto(previous); resultDoubleObject.handleAttributes(attributes); return resultDoubleObject; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public Double popDoubleObject(XMLTypeResourceImpl.DataFrame doubleObject) { Double resultDoubleObjectValue = XMLTypeFactory.eINSTANCE.createDoubleObject(doubleObject.popValue()); this.doubleObject = doubleObject; return resultDoubleObjectValue; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public 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; }
XMLTypeResourceImpl.DataFrame pushNMTOKENS(XMLTypeResourceImpl.StackFrame previous, Attributes attributes) { XMLTypeResourceImpl.DataFrame resultNMTOKENS = nmtokens == null ? new XMLTypeResourceImpl.DataFrame() : nmtokens; nmtokens = null; resultNMTOKENS.pushOnto(previous); resultNMTOKENS.handleAttributes(attributes); return resultNMTOKENS; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public List<String> popNMTOKENS(XMLTypeResourceImpl.DataFrame nmtokens) { List<String> resultNMTOKENSValue = XMLTypeFactory.eINSTANCE.createNMTOKENS(nmtokens.popValue()); this.nmtokens = nmtokens; return resultNMTOKENSValue; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public XMLTypeResourceImpl.DataFrame pushNMTOKENSBase(XMLTypeResourceImpl.StackFrame previous, Attributes attributes) { XMLTypeResourceImpl.DataFrame resultNMTOKENSBase = nmtokensBase == null ? new XMLTypeResourceImpl.DataFrame() : nmtokensBase; nmtokensBase = null; resultNMTOKENSBase.pushOnto(previous); resultNMTOKENSBase.handleAttributes(attributes); return resultNMTOKENSBase; }

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

1

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

2

        {↵

2

        {↵

3

           XMLTypeResourceImpl.DataFrame resultDoubleObject = doubleObject == null ? new XMLTypeResourceImpl.DataFrame() : doubleObject;↵

3

           XMLTypeResourceImpl.DataFrame resultNMTOKENS = nmtokens == null ? new XMLTypeResourceImpl.DataFrame() : ↵

4

           doubleObject↵

4

    nmtokens;↵

5

     = null;↵

5

           nmtokens = null;↵

6

           resultDoubleObject.pushOnto(previous);↵

6

           resultNMTOKENS.pushOnto(previous);↵

7

           resultDoubleObject.handleAttributes(attributes);↵

7

           resultNMTOKENS.handleAttributes(attributes);↵

8

           return resultDoubleObject;↵

8

           return resultNMTOKENS;↵

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 Double popDoubleObject(XMLTypeResourceImpl.DataFrame doubleObject)↵

15

        public List<String> popNMTOKENS(XMLTypeResourceImpl.DataFrame nmtokens)↵

16

        {↵

16

        {↵

17

          Double resultDoubleObjectValue = XMLTypeFactory.eINSTANCE.createDoubleObject(doubleObject.popValue());↵

17

          List<String> resultNMTOKENSValue = XMLTypeFactory.eINSTANCE.create↵

18

          this.doubleObject = doubleObject↵

18

    NMTOKENS(nmtokens.popValue());↵

19

    ;↵

19

          this.nmtokens = nmtokens;↵

20

          return resultDoubleObjectValue;↵

20

          return resultNMTOKENSValue;↵

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

27

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

28

        {↵

28

        {↵

29

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

29

           XMLTypeResourceImpl.DataFrame resultNMTOKENSBase = nmtokensBase == null ? new XMLTypeResourceImpl.DataFrame() : ↵

30

           duration↵

30

    nmtokensBase;↵

31

     = null;↵

31

           nmtokensBase = null;↵

32

           resultDuration.pushOnto(previous);↵

32

           resultNMTOKENSBase.pushOnto(previous);↵

33

           resultDuration.handleAttributes(attributes);↵

33

           resultNMTOKENSBase.handleAttributes(attributes);↵

34

           return resultDuration;↵

34

           return resultNMTOKENSBase;↵

35

        }

35

        }

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