2152-13-27

XMLTypeResourceImpl.DataFrame pushUnsignedByteObject(XMLTypeResourceImpl.StackFrame previous, Attributes attributes) { XMLTypeResourceImpl.DataFrame resultUnsignedByteObject = unsignedByteObject == null ? new XMLTypeResourceImpl.DataFrame() : unsignedByteObject; unsignedByteObject = null; resultUnsignedByteObject.pushOnto(previous); resultUnsignedByteObject.handleAttributes(attributes); return resultUnsignedByteObject; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public Short popUnsignedByteObject(XMLTypeResourceImpl.DataFrame unsignedByteObject) { Short resultUnsignedByteObjectValue = XMLTypeFactory.eINSTANCE.createUnsignedByteObject(unsignedByteObject.popValue()); this.unsignedByteObject = unsignedByteObject; return resultUnsignedByteObjectValue; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public XMLTypeResourceImpl.DataFrame pushUnsignedInt(XMLTypeResourceImpl.StackFrame previous, Attributes attributes) { XMLTypeResourceImpl.DataFrame resultUnsignedInt = unsignedInt == null ? new XMLTypeResourceImpl.DataFrame() : unsignedInt; unsignedInt = null; resultUnsignedInt.pushOnto(previous); resultUnsignedInt.handleAttributes(attributes); return resultUnsignedInt; }
XMLTypeResourceImpl.DataFrame pushShortObject(XMLTypeResourceImpl.StackFrame previous, Attributes attributes) { XMLTypeResourceImpl.DataFrame resultShortObject = shortObject == null ? new XMLTypeResourceImpl.DataFrame() : shortObject; shortObject = null; resultShortObject.pushOnto(previous); resultShortObject.handleAttributes(attributes); return resultShortObject; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public Short popShortObject(XMLTypeResourceImpl.DataFrame shortObject) { Short resultShortObjectValue = XMLTypeFactory.eINSTANCE.createShortObject(shortObject.popValue()); this.shortObject = shortObject; return resultShortObjectValue; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public XMLTypeResourceImpl.DataFrame pushString(XMLTypeResourceImpl.StackFrame previous, Attributes attributes) { XMLTypeResourceImpl.DataFrame resultString = string == null ? new XMLTypeResourceImpl.DataFrame() : string; string = null; resultString.pushOnto(previous); resultString.handleAttributes(attributes); return resultString; }

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

1

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

2

        {↵

2

        {↵

3

           XMLTypeResourceImpl.DataFrame resultUnsignedByteObject = unsignedByteObject == null ? new XMLTypeResourceImpl.DataFrame() : unsignedByteObject;↵

3

           XMLTypeResourceImpl.DataFrame resultShortObject = shortObject == null ? new XMLTypeResourceImpl.DataFrame() : shortObject;↵

4

           unsignedByteObject = null;↵

4

           shortObject = null;↵

5

           resultUnsignedByteObject.pushOnto(previous);↵

5

           resultShortObject.pushOnto(previous);↵

6

           resultUnsignedByteObject.handleAttributes(attributes);↵

6

           resultShortObject.handleAttributes(attributes);↵

7

           return resultUnsignedByteObject;↵

7

           return resultShortObject;↵

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 Short popUnsignedByteObject(XMLTypeResourceImpl.DataFrame unsignedByteObject)↵

14

        public Short popShortObject(XMLTypeResourceImpl.DataFrame shortObject)↵

15

        {↵

15

        {↵

16

          Short resultUnsignedByteObjectValue = XMLTypeFactory.eINSTANCE.createUnsignedByteObject(unsignedByteObject.popValue());↵

16

          Short resultShortObjectValue = XMLTypeFactory.eINSTANCE.createShortObject(shortObject.popValue());↵

17

          this.unsignedByteObject = unsignedByteObject;↵

17

          this.shortObject = shortObject;↵

18

          return resultUnsignedByteObjectValue;↵

18

          return resultShortObjectValue;↵

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

25

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

26

        {↵

26

        {↵

27

           XMLTypeResourceImpl.DataFrame resultUnsignedInt = unsignedInt == null ? new XMLTypeResourceImpl.DataFrame() : unsignedInt;↵

27

           XMLTypeResourceImpl.DataFrame resultString = string == null ? new XMLTypeResourceImpl.DataFrame() : ↵

28

           unsignedInt↵

28

    string;↵

29

     = null;↵

29

           string = null;↵

30

           resultUnsignedInt.pushOnto(previous);↵

30

           resultString.pushOnto(previous);↵

31

           resultUnsignedInt.handleAttributes(attributes);↵

31

           resultString.handleAttributes(attributes);↵

32

           return resultUnsignedInt;↵

32

           return resultString;↵

33

        }

33

        }

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