2152-4-18

XMLTypeResourceImpl.DataFrame pushFloatObject(XMLTypeResourceImpl.StackFrame previous, Attributes attributes) { XMLTypeResourceImpl.DataFrame resultFloatObject = floatObject == null ? new XMLTypeResourceImpl.DataFrame() : floatObject; floatObject = null; resultFloatObject.pushOnto(previous); resultFloatObject.handleAttributes(attributes); return resultFloatObject; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public Float popFloatObject(XMLTypeResourceImpl.DataFrame floatObject) { Float resultFloatObjectValue = XMLTypeFactory.eINSTANCE.createFloatObject(floatObject.popValue()); this.floatObject = floatObject; return resultFloatObjectValue; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public 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; }
XMLTypeResourceImpl.DataFrame pushAnyURI(XMLTypeResourceImpl.StackFrame previous, Attributes attributes) { XMLTypeResourceImpl.DataFrame resultAnyURI = anyURI == null ? new XMLTypeResourceImpl.DataFrame() : anyURI; anyURI = null; resultAnyURI.pushOnto(previous); resultAnyURI.handleAttributes(attributes); return resultAnyURI; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public String popAnyURI(XMLTypeResourceImpl.DataFrame anyURI) { String resultAnyURIValue = XMLTypeFactory.eINSTANCE.createAnyURI(anyURI.popValue()); this.anyURI = anyURI; return resultAnyURIValue; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public XMLTypeResourceImpl.DataFrame pushBase64Binary(XMLTypeResourceImpl.StackFrame previous, Attributes attributes) { XMLTypeResourceImpl.DataFrame resultBase64Binary = base64Binary == null ? new XMLTypeResourceImpl.DataFrame() : base64Binary; base64Binary = null; resultBase64Binary.pushOnto(previous); resultBase64Binary.handleAttributes(attributes); return resultBase64Binary; }

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

1

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

2

        {↵

2

        {↵

3

           XMLTypeResourceImpl.DataFrame resultFloatObject = floatObject == null ? new XMLTypeResourceImpl.DataFrame() : floatObject;↵

3

           XMLTypeResourceImpl.DataFrame resultAnyURI = anyURI == null ? new XMLTypeResourceImpl.DataFrame() : ↵

4

           floatObject↵

4

    anyURI;↵

5

     = null;↵

5

           anyURI = null;↵

6

           resultFloatObject.pushOnto(previous);↵

6

           resultAnyURI.pushOnto(previous);↵

7

           resultFloatObject.handleAttributes(attributes);↵

7

           resultAnyURI.handleAttributes(attributes);↵

8

           return resultFloatObject;↵

8

           return resultAnyURI;↵

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 Float popFloatObject(XMLTypeResourceImpl.DataFrame floatObject)↵

15

        public String popAnyURI(XMLTypeResourceImpl.DataFrame anyURI)↵

16

        {↵

16

        {↵

17

          Float resultFloatObjectValue = XMLTypeFactory.eINSTANCE.createFloatObject(floatObject.popValue());↵

17

          String resultAnyURIValue = XMLTypeFactory.eINSTANCE.createAnyURI(anyURI.popValue());↵

18

          this.floatObject = floatObject;↵

18

          this.anyURI = anyURI;↵

19

          return resultFloatObjectValue;↵

19

          return resultAnyURIValue;↵

20

        }↵

20

        }↵

21

        /**↵

21

        /**↵

22

         * <!-- begin-user-doc -->↵

22

         * <!-- begin-user-doc -->↵

23

         * <!-- end-user-doc -->↵

23

         * <!-- end-user-doc -->↵

24

         * @generated↵

24

         * @generated↵

25

         */↵

25

         */↵

26

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

26

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

27

        {↵

27

        {↵

28

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

28

           XMLTypeResourceImpl.DataFrame resultBase64Binary = base64Binary == null ? new XMLTypeResourceImpl.DataFrame() : ↵

29

           gDa↵

29

    base64Binary;↵

30

    y = null;↵

30

           base64Binary = null;↵

31

           resultGDay.pushOnto(previous);↵

31

           resultBase64Binary.pushOnto(previous);↵

32

           resultGDay.handleAttributes(attributes);↵

32

           resultBase64Binary.handleAttributes(attributes);↵

33

           return resultGDay;↵

33

           return resultBase64Binary;↵

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