2152-28-35

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 pushDecimal(XMLTypeResourceImpl.StackFrame previous, Attributes attributes) { XMLTypeResourceImpl.DataFrame resultDecimal = decimal == null ? new XMLTypeResourceImpl.DataFrame() : decimal; decimal = null; resultDecimal.pushOnto(previous); resultDecimal.handleAttributes(attributes); return resultDecimal; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public BigDecimal popDecimal(XMLTypeResourceImpl.DataFrame decimal) { BigDecimal resultDecimalValue = XMLTypeFactory.eINSTANCE.createDecimal(decimal.popValue()); this.decimal = decimal; return resultDecimalValue; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public XMLTypeResourceImpl.DataFrame pushDouble(XMLTypeResourceImpl.StackFrame previous, Attributes attributes) { XMLTypeResourceImpl.DataFrame resultDouble = double_ == null ? new XMLTypeResourceImpl.DataFrame() : double_; double_ = null; resultDouble.pushOnto(previous); resultDouble.handleAttributes(attributes); return resultDouble; }

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

2

        {↵

2

        {↵

3

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

3

           XMLTypeResourceImpl.DataFrame resultDecimal = decimal == null ? new XMLTypeResourceImpl.DataFrame() : decimal;↵

4

           anySimpleType = null;↵

4

           decimal = null;↵

5

           resultAnySimpleType.pushOnto(previous);↵

5

           resultDecimal.pushOnto(previous);↵

6

           resultAnySimpleType.handleAttributes(attributes);↵

6

           resultDecimal.handleAttributes(attributes);↵

7

           return resultAnySimpleType;↵

7

           return resultDecimal;↵

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

14

        public BigDecimal popDecimal(XMLTypeResourceImpl.DataFrame decimal)↵

15

        {↵

15

        {↵

16

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

16

          BigDecimal resultDecimalValue = XMLTypeFactory.eINSTANCE.createDecimal(decimal.popValue());↵

17

          this.anySimpleType = anySimpleType;↵

17

          this.decimal = decimal;↵

18

          return resultAnySimpleTypeValue;↵

18

          return resultDecimalValue;↵

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

25

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

26

        {↵

26

        {↵

27

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

27

           XMLTypeResourceImpl.DataFrame resultDouble = double_ == null ? new XMLTypeResourceImpl.DataFrame() : double_;↵

28

           anyURI = null;↵

28

           double_ = null;↵

29

           resultAnyURI.pushOnto(previous);↵

29

           resultDouble.pushOnto(previous);↵

30

           resultAnyURI.handleAttributes(attributes);↵

30

           resultDouble.handleAttributes(attributes);↵

31

           return resultAnyURI;↵

31

           return resultDouble;↵

32

        }

32

        }

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