2152-28-30

XMLTypeResourceImpl.DataFrame pushAnySimpleType(XMLTypeResourceImpl.StackFrame previous, Attributes attributes) { XMLTypeResourceImpl.DataFrame resultAnySimpleType = anySimpleType == null ? new XMLTypeResourceImpl.DataFrame() : anySimpleType; anySimpleType = null; resultAnySimpleType.pushOnto(previous); resultAnySimpleType.handleAttributes(attributes); return resultAnySimpleType; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public Object popAnySimpleType(XMLTypeResourceImpl.DataFrame anySimpleType) { Object resultAnySimpleTypeValue = XMLTypeFactory.eINSTANCE.createAnySimpleType(anySimpleType.popValue()); this.anySimpleType = anySimpleType; return resultAnySimpleTypeValue; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public 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; }
XMLTypeResourceImpl.DataFrame pushUnsignedLong(XMLTypeResourceImpl.StackFrame previous, Attributes attributes) { XMLTypeResourceImpl.DataFrame resultUnsignedLong = unsignedLong == null ? new XMLTypeResourceImpl.DataFrame() : unsignedLong; unsignedLong = null; resultUnsignedLong.pushOnto(previous); resultUnsignedLong.handleAttributes(attributes); return resultUnsignedLong; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public BigInteger popUnsignedLong(XMLTypeResourceImpl.DataFrame unsignedLong) { BigInteger resultUnsignedLongValue = XMLTypeFactory.eINSTANCE.createUnsignedLong(unsignedLong.popValue()); this.unsignedLong = unsignedLong; return resultUnsignedLongValue; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public XMLTypeResourceImpl.DataFrame pushUnsignedShort(XMLTypeResourceImpl.StackFrame previous, Attributes attributes) { XMLTypeResourceImpl.DataFrame resultUnsignedShort = unsignedShort == null ? new XMLTypeResourceImpl.DataFrame() : unsignedShort; unsignedShort = null; resultUnsignedShort.pushOnto(previous); resultUnsignedShort.handleAttributes(attributes); return resultUnsignedShort; }

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

1

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

2

        {↵

2

        {↵

3

           XMLTypeResourceImpl.DataFrame resultAnySimpleType = anySimpleType == null ? new XMLTypeResourceImpl.DataFrame() : anySimpleType;↵

3

           XMLTypeResourceImpl.DataFrame resultUnsignedLong = unsignedLong == null ? new XMLTypeResourceImpl.DataFrame() : ↵

4

           anySimpleType↵

4

    unsignedLong;↵

5

     = null;↵

5

           unsignedLong = null;↵

6

           resultAnySimpleType.pushOnto(previous);↵

6

           resultUnsignedLong.pushOnto(previous);↵

7

           resultAnySimpleType.handleAttributes(attributes);↵

7

           resultUnsignedLong.handleAttributes(attributes);↵

8

           return resultAnySimpleType;↵

8

           return resultUnsignedLong;↵

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 Object popAnySimpleType(XMLTypeResourceImpl.DataFrame anySimpleType)↵

15

        public BigInteger popUnsignedLong(XMLTypeResourceImpl.DataFrame unsignedLong)↵

16

        {↵

16

        {↵

17

          Object resultAnySimpleTypeValue = XMLTypeFactory.eINSTANCE.createAnySimpleType(anySimpleType.popValue());↵

17

          BigInteger resultUnsignedLongValue = XMLTypeFactory.eINSTANCE.createUnsignedLong(unsignedLong.popValue());↵

18

          this.anySimpleType = anySimpleType;↵

18

          this.unsignedLong = unsignedLong;↵

19

          return resultAnySimpleTypeValue;↵

19

          return resultUnsignedLongValue;↵

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

26

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

27

        {↵

27

        {↵

28

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

28

           XMLTypeResourceImpl.DataFrame resultUnsignedShort = unsignedShort == null ? new XMLTypeResourceImpl.DataFrame() : ↵

29

           anyURI↵

29

    unsignedShort;↵

30

     = null;↵

30

           unsignedShort = null;↵

31

           resultAnyURI.pushOnto(previous);↵

31

           resultUnsignedShort.pushOnto(previous);↵

32

           resultAnyURI.handleAttributes(attributes);↵

32

           resultUnsignedShort.handleAttributes(attributes);↵

33

           return resultAnyURI;↵

33

           return resultUnsignedShort;↵

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