2160-5-12

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; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public QName popNOTATION(XMLTypeResourceImpl.DataFrame notation) { QName resultNOTATIONValue = XMLTypeFactory.eINSTANCE.createNOTATION(notation.popValue()); this.notation = notation; return resultNOTATIONValue; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public XMLTypeResourceImpl.DataFrame pushPositiveInteger(XMLTypeResourceImpl.StackFrame previous, Attributes attributes) { XMLTypeResourceImpl.DataFrame resultPositiveInteger = positiveInteger == null ? new XMLTypeResourceImpl.DataFrame() : positiveInteger; positiveInteger = null; resultPositiveInteger.pushOnto(previous); resultPositiveInteger.handleAttributes(attributes); return resultPositiveInteger; }
XMLTypeResourceImpl.DataFrame pushUnsignedIntObject(XMLTypeResourceImpl.StackFrame previous, Attributes attributes) { XMLTypeResourceImpl.DataFrame resultUnsignedIntObject = unsignedIntObject == null ? new XMLTypeResourceImpl.DataFrame() : unsignedIntObject; unsignedIntObject = null; resultUnsignedIntObject.pushOnto(previous); resultUnsignedIntObject.handleAttributes(attributes); return resultUnsignedIntObject; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public Long popUnsignedIntObject(XMLTypeResourceImpl.DataFrame unsignedIntObject) { Long resultUnsignedIntObjectValue = XMLTypeFactory.eINSTANCE.createUnsignedIntObject(unsignedIntObject.popValue()); this.unsignedIntObject = unsignedIntObject; return resultUnsignedIntObjectValue; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public 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 pushNormalizedString(XMLTypeResourceImpl.StackFrame previous, Attributes attributes)↵

1

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

2

        {↵

2

        {↵

3

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

3

           XMLTypeResourceImpl.DataFrame resultUnsignedIntObject = unsignedIntObject == null ? new XMLTypeResourceImpl.DataFrame() : ↵

4

           normalizedString↵

4

    unsignedIntObject;↵

5

     = null;↵

5

           unsignedIntObject = null;↵

6

           resultNormalizedString.pushOnto(previous);↵

6

           resultUnsignedIntObject.pushOnto(previous);↵

7

           resultNormalizedString.handleAttributes(attributes);↵

7

           resultUnsignedIntObject.handleAttributes(attributes);↵

8

           return resultNormalizedString;↵

8

           return resultUnsignedIntObject;↵

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 String popNormalizedString(XMLTypeResourceImpl.DataFrame normalizedString)↵

15

        public Long popUnsignedIntObject(XMLTypeResourceImpl.DataFrame unsignedIntObject)↵

16

        {↵

16

        {↵

17

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

17

          Long resultUnsignedIntObjectValue = XMLTypeFactory.eINSTANCE.createUnsignedIntObject(unsignedIntObject.popValue());↵

18

          this.normalizedString = normalizedString;↵

18

          this.unsignedIntObject = unsignedIntObject;↵

19

          return resultNormalizedStringValue;↵

19

          return resultUnsignedIntObjectValue;↵

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

26

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

27

        {↵

27

        {↵

28

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

28

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

29

           notation = null;↵

29

           unsignedLong = null;↵

30

           resultNOTATION.pushOnto(previous);↵

30

           resultUnsignedLong.pushOnto(previous);↵

31

           resultNOTATION.handleAttributes(attributes);↵

31

           resultUnsignedLong.handleAttributes(attributes);↵

32

           return resultNOTATION;↵

32

           return resultUnsignedLong;↵

33

        }↵

33

        }↵

34

        /**↵

34

        /**↵

35

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

35

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

36

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

36

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

37

         * @generated↵

37

         * @generated↵

38

         */↵

38

         */↵

39

        public QName popNOTATION(XMLTypeResourceImpl.DataFrame notation)↵

39

        public BigInteger popUnsignedLong(XMLTypeResourceImpl.DataFrame unsignedLong)↵

40

        {↵

40

        {↵

41

          QName resultNOTATIONValue = XMLTypeFactory.eINSTANCE.createNOTATION(notation.popValue());↵

41

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

42

          this.notation = notation;↵

42

          this.unsignedLong = unsignedLong;↵

43

          return resultNOTATIONValue;↵

43

          return resultUnsignedLongValue;↵

44

        }↵

44

        }↵

45

        /**↵

45

        /**↵

46

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

46

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

47

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

47

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

48

         * @generated↵

48

         * @generated↵

49

         */↵

49

         */↵

50

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

50

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

51

        {↵

51

        {↵

52

           XMLTypeResourceImpl.DataFrame resultPositiveInteger = positiveInteger == null ? new XMLTypeResourceImpl.DataFrame() : positiveInteger;↵

52

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

53

           positiveInteger↵

53

    unsignedShort;↵

54

     = null;↵

54

           unsignedShort = null;↵

55

           resultPositiveInteger.pushOnto(previous);↵

55

           resultUnsignedShort.pushOnto(previous);↵

56

           resultPositiveInteger.handleAttributes(attributes);↵

56

           resultUnsignedShort.handleAttributes(attributes);↵

57

           return resultPositiveInteger;↵

57

           return resultUnsignedShort;↵

58

        }

58

        }

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