2152-21-43

XMLTypeResourceImpl.DataFrame pushByteObject(XMLTypeResourceImpl.StackFrame previous, Attributes attributes) { XMLTypeResourceImpl.DataFrame resultByteObject = byteObject == null ? new XMLTypeResourceImpl.DataFrame() : byteObject; byteObject = null; resultByteObject.pushOnto(previous); resultByteObject.handleAttributes(attributes); return resultByteObject; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public Byte popByteObject(XMLTypeResourceImpl.DataFrame byteObject) { Byte resultByteObjectValue = XMLTypeFactory.eINSTANCE.createByteObject(byteObject.popValue()); this.byteObject = byteObject; return resultByteObjectValue; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public XMLTypeResourceImpl.DataFrame pushDate(XMLTypeResourceImpl.StackFrame previous, Attributes attributes) { XMLTypeResourceImpl.DataFrame resultDate = date == null ? new XMLTypeResourceImpl.DataFrame() : date; date = null; resultDate.pushOnto(previous); resultDate.handleAttributes(attributes); return resultDate; }
XMLTypeResourceImpl.DataFrame pushIDREFSBase(XMLTypeResourceImpl.StackFrame previous, Attributes attributes) { XMLTypeResourceImpl.DataFrame resultIDREFSBase = idrefsBase == null ? new XMLTypeResourceImpl.DataFrame() : idrefsBase; idrefsBase = null; resultIDREFSBase.pushOnto(previous); resultIDREFSBase.handleAttributes(attributes); return resultIDREFSBase; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public List<String> popIDREFSBase(XMLTypeResourceImpl.DataFrame idrefsBase) { List<String> resultIDREFSBaseValue = XMLTypeFactory.eINSTANCE.createIDREFSBase(idrefsBase.popValue()); this.idrefsBase = idrefsBase; return resultIDREFSBaseValue; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public XMLTypeResourceImpl.DataFrame pushInt(XMLTypeResourceImpl.StackFrame previous, Attributes attributes) { XMLTypeResourceImpl.DataFrame resultInt = int_ == null ? new XMLTypeResourceImpl.DataFrame() : int_; int_ = null; resultInt.pushOnto(previous); resultInt.handleAttributes(attributes); return resultInt; }

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

1

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

2

        {↵

2

        {↵

3

           XMLTypeResourceImpl.DataFrame resultByteObject = byteObject == null ? new XMLTypeResourceImpl.DataFrame() : byteObject;↵

3

           XMLTypeResourceImpl.DataFrame resultIDREFSBase = idrefsBase == null ? new XMLTypeResourceImpl.DataFrame() : ↵

4

           byteObject↵

4

    idrefsBase;↵

5

     = null;↵

5

           idrefsBase = null;↵

6

           resultByteObject.pushOnto(previous);↵

6

           resultIDREFSBase.pushOnto(previous);↵

7

           resultByteObject.handleAttributes(attributes);↵

7

           resultIDREFSBase.handleAttributes(attributes);↵

8

           return resultByteObject;↵

8

           return resultIDREFSBase;↵

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 Byte popByteObject(XMLTypeResourceImpl.DataFrame byteObject)↵

15

        public List<String> popIDREFSBase(XMLTypeResourceImpl.DataFrame idrefsBase)↵

16

        {↵

16

        {↵

17

          Byte resultByteObjectValue = XMLTypeFactory.eINSTANCE.createByteObject(byteObject.popValue());↵

17

          List<String> resultIDREFSBaseValue = XMLTypeFactory.eINSTANCE.createIDREFSBase(idrefsBase.popValue());↵

18

          this.byteObject = byteObject;↵

18

          this.idrefsBase = idrefsBase;↵

19

          return resultByteObjectValue;↵

19

          return resultIDREFSBaseValue;↵

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

26

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

27

        {↵

27

        {↵

28

           XMLTypeResourceImpl.DataFrame resultDate = date == null ? new XMLTypeResourceImpl.DataFrame() : date;↵

28

           XMLTypeResourceImpl.DataFrame resultInt = int_ == null ? new XMLTypeResourceImpl.DataFrame() : int_;↵

29

           date = null;↵

29

           int_ = null;↵

30

           resultDate.pushOnto(previous);↵

30

           resultInt.pushOnto(previous);↵

31

           resultDate.handleAttributes(attributes);↵

31

           resultInt.handleAttributes(attributes);↵

32

           return resultDate;↵

32

           return resultInt;↵

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