2160-14-18

XMLTypeResourceImpl.DataFrame pushNonPositiveInteger(XMLTypeResourceImpl.StackFrame previous, Attributes attributes) { XMLTypeResourceImpl.DataFrame resultNonPositiveInteger = nonPositiveInteger == null ? new XMLTypeResourceImpl.DataFrame() : nonPositiveInteger; nonPositiveInteger = null; resultNonPositiveInteger.pushOnto(previous); resultNonPositiveInteger.handleAttributes(attributes); return resultNonPositiveInteger; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public BigInteger popNonPositiveInteger(XMLTypeResourceImpl.DataFrame nonPositiveInteger) { BigInteger resultNonPositiveIntegerValue = XMLTypeFactory.eINSTANCE.createNonPositiveInteger(nonPositiveInteger.popValue()); this.nonPositiveInteger = nonPositiveInteger; return resultNonPositiveIntegerValue; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public XMLTypeResourceImpl.DataFrame pushNormalizedString(XMLTypeResourceImpl.StackFrame previous, Attributes attributes) { XMLTypeResourceImpl.DataFrame resultNormalizedString = normalizedString == null ? new XMLTypeResourceImpl.DataFrame() : normalizedString; normalizedString = null; resultNormalizedString.pushOnto(previous); resultNormalizedString.handleAttributes(attributes); return resultNormalizedString; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public String popNormalizedString(XMLTypeResourceImpl.DataFrame normalizedString) { String resultNormalizedStringValue = XMLTypeFactory.eINSTANCE.createNormalizedString(normalizedString.popValue()); this.normalizedString = normalizedString; return resultNormalizedStringValue; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public XMLTypeResourceImpl.DataFrame pushNOTATION(XMLTypeResourceImpl.StackFrame previous, Attributes attributes) { XMLTypeResourceImpl.DataFrame resultNOTATION = notation == null ? new XMLTypeResourceImpl.DataFrame() : notation; notation = null; resultNOTATION.pushOnto(previous); resultNOTATION.handleAttributes(attributes); return resultNOTATION; }
XMLTypeResourceImpl.DataFrame pushDateTime(XMLTypeResourceImpl.StackFrame previous, Attributes attributes) { XMLTypeResourceImpl.DataFrame resultDateTime = dateTime == null ? new XMLTypeResourceImpl.DataFrame() : dateTime; dateTime = null; resultDateTime.pushOnto(previous); resultDateTime.handleAttributes(attributes); return resultDateTime; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public XMLGregorianCalendar popDateTime(XMLTypeResourceImpl.DataFrame dateTime) { XMLGregorianCalendar resultDateTimeValue = XMLTypeFactory.eINSTANCE.createDateTime(dateTime.popValue()); this.dateTime = dateTime; return resultDateTimeValue; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public 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 pushNonPositiveInteger(XMLTypeResourceImpl.StackFrame previous, Attributes attributes)↵

1

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

2

        {↵

2

        {↵

3

           XMLTypeResourceImpl.DataFrame resultNonPositiveInteger = nonPositiveInteger == null ? new XMLTypeResourceImpl.DataFrame() : nonPositiveInteger;↵

3

           XMLTypeResourceImpl.DataFrame resultDateTime = dateTime == null ? new XMLTypeResourceImpl.DataFrame() : ↵

4

           nonPositiveInteger↵

4

    dateTime;↵

5

     = null;↵

5

           dateTime = null;↵

6

           resultNonPositiveInteger.pushOnto(previous);↵

6

           resultDateTime.pushOnto(previous);↵

7

           resultNonPositiveInteger.handleAttributes(attributes);↵

7

           resultDateTime.handleAttributes(attributes);↵

8

           return resultNonPositiveInteger;↵

8

           return resultDateTime;↵

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 BigInteger popNonPositiveInteger(XMLTypeResourceImpl.DataFrame nonPositiveInteger)↵

15

        public XMLGregorianCalendar popDateTime(XMLTypeResourceImpl.DataFrame ↵

16

        {↵

17

          BigInteger resultNonPositiveInteger↵

16

    dateTime)↵

17

        {↵

18

    Value = XMLTypeFactory.eINSTANCE.createNonPositiveInteger(nonPositiveInteger.popValue());↵

18

          XMLGregorianCalendar resultDateTimeValue = XMLTypeFactory.eINSTANCE.create↵

19

          this.nonPositiveInteger = nonPositiveInteger↵

19

    DateTime(dateTime.popValue());↵

20

    ;↵

20

          this.dateTime = dateTime;↵

21

          return resultNonPositiveIntegerValue;↵

21

          return resultDateTimeValue;↵

22

        }↵

22

        }↵

23

        /**↵

23

        /**↵

24

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

24

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

25

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

25

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

26

         * @generated↵

26

         * @generated↵

27

         */↵

27

         */↵

28

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

28

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

29

        {↵

29

        {↵

30

           XMLTypeResourceImpl.DataFrame resultNormalizedString = normalizedString == null ? new XMLTypeResourceImpl.DataFrame() : normalizedString;↵

30

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

31

           normalizedString↵

31

    decimal;↵

32

     = null;↵

32

           decimal = null;↵

33

           resultNormalizedString.pushOnto(previous);↵

33

           resultDecimal.pushOnto(previous);↵

34

           resultNormalizedString.handleAttributes(attributes);↵

34

           resultDecimal.handleAttributes(attributes);↵

35

           return resultNormalizedString;↵

35

           return resultDecimal;↵

36

        }↵

36

        }↵

37

        /**↵

37

        /**↵

38

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

38

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

39

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

39

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

40

         * @generated↵

40

         * @generated↵

41

         */↵

41

         */↵

42

        public String popNormalizedString(XMLTypeResourceImpl.DataFrame normalizedString)↵

42

        public BigDecimal popDecimal(XMLTypeResourceImpl.DataFrame decimal)↵

43

        {↵

43

        {↵

44

          String resultNormalizedStringValue = XMLTypeFactory.eINSTANCE.createNormalizedString(normalizedString.popValue());↵

44

          BigDecimal resultDecimalValue = XMLTypeFactory.eINSTANCE.create↵

45

          this.normalizedString = normalizedString↵

45

    Decimal(decimal.popValue());↵

46

    ;↵

46

          this.decimal = decimal;↵

47

          return resultNormalizedStringValue;↵

47

          return resultDecimalValue;↵

48

        }↵

48

        }↵

49

        /**↵

49

        /**↵

50

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

50

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

51

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

51

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

52

         * @generated↵

52

         * @generated↵

53

         */↵

53

         */↵

54

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

54

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

55

        {↵

55

        {↵

56

           XMLTypeResourceImpl.DataFrame resultNOTATION = notation == null ? new XMLTypeResourceImpl.DataFrame() : notation;↵

56

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

57

           notation = null;↵

57

           double_ = null;↵

58

           resultNOTATION.pushOnto(previous);↵

58

           resultDouble.pushOnto(previous);↵

59

           resultNOTATION.handleAttributes(attributes);↵

59

           resultDouble.handleAttributes(attributes);↵

60

           return resultNOTATION;↵

60

           return resultDouble;↵

61

        }

61

        }

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