2160-5-9

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 pushIntObject(XMLTypeResourceImpl.StackFrame previous, Attributes attributes) { XMLTypeResourceImpl.DataFrame resultIntObject = intObject == null ? new XMLTypeResourceImpl.DataFrame() : intObject; intObject = null; resultIntObject.pushOnto(previous); resultIntObject.handleAttributes(attributes); return resultIntObject; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public Integer popIntObject(XMLTypeResourceImpl.DataFrame intObject) { Integer resultIntObjectValue = XMLTypeFactory.eINSTANCE.createIntObject(intObject.popValue()); this.intObject = intObject; return resultIntObjectValue; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public XMLTypeResourceImpl.DataFrame pushLanguage(XMLTypeResourceImpl.StackFrame previous, Attributes attributes) { XMLTypeResourceImpl.DataFrame resultLanguage = language == null ? new XMLTypeResourceImpl.DataFrame() : language; language = null; resultLanguage.pushOnto(previous); resultLanguage.handleAttributes(attributes); return resultLanguage; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public String popLanguage(XMLTypeResourceImpl.DataFrame language) { String resultLanguageValue = XMLTypeFactory.eINSTANCE.createLanguage(language.popValue()); this.language = language; return resultLanguageValue; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public XMLTypeResourceImpl.DataFrame pushLong(XMLTypeResourceImpl.StackFrame previous, Attributes attributes) { XMLTypeResourceImpl.DataFrame resultLong = long_ == null ? new XMLTypeResourceImpl.DataFrame() : long_; long_ = null; resultLong.pushOnto(previous); resultLong.handleAttributes(attributes); return resultLong; }

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

2

        {↵

2

        {↵

3

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

3

           XMLTypeResourceImpl.DataFrame resultIntObject = intObject == null ? new XMLTypeResourceImpl.DataFrame() : ↵

4

           normalizedString↵

4

    intObject;↵

5

     = null;↵

5

           intObject = null;↵

6

           resultNormalizedString.pushOnto(previous);↵

6

           resultIntObject.pushOnto(previous);↵

7

           resultNormalizedString.handleAttributes(attributes);↵

7

           resultIntObject.handleAttributes(attributes);↵

8

           return resultNormalizedString;↵

8

           return resultIntObject;↵

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 Integer popIntObject(XMLTypeResourceImpl.DataFrame ↵

16

        {↵

17

          String resultNormalizedString↵

16

    intObject)↵

17

        {↵

18

    Value = XMLTypeFactory.eINSTANCE.createNormalizedString(normalizedString.popValue());↵

18

          Integer resultIntObjectValue = XMLTypeFactory.eINSTANCE.create↵

19

          this.normalizedString = normalizedString↵

19

    IntObject(intObject.popValue());↵

20

    ;↵

20

          this.intObject = intObject;↵

21

          return resultNormalizedStringValue;↵

21

          return resultIntObjectValue;↵

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

28

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

29

        {↵

29

        {↵

30

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

30

           XMLTypeResourceImpl.DataFrame resultLanguage = language == null ? new XMLTypeResourceImpl.DataFrame() : language;↵

31

           notation = null;↵

31

           language = null;↵

32

           resultNOTATION.pushOnto(previous);↵

32

           resultLanguage.pushOnto(previous);↵

33

           resultNOTATION.handleAttributes(attributes);↵

33

           resultLanguage.handleAttributes(attributes);↵

34

           return resultNOTATION;↵

34

           return resultLanguage;↵

35

        }↵

35

        }↵

36

        /**↵

36

        /**↵

37

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

37

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

38

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

38

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

39

         * @generated↵

39

         * @generated↵

40

         */↵

40

         */↵

41

        public QName popNOTATION(XMLTypeResourceImpl.DataFrame notation)↵

41

        public String popLanguage(XMLTypeResourceImpl.DataFrame language)↵

42

        {↵

42

        {↵

43

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

43

          String resultLanguageValue = XMLTypeFactory.eINSTANCE.createLanguage(language.popValue());↵

44

          this.notation = notation;↵

44

          this.language = language;↵

45

          return resultNOTATIONValue;↵

45

          return resultLanguageValue;↵

46

        }↵

46

        }↵

47

        /**↵

47

        /**↵

48

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

48

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

49

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

49

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

50

         * @generated↵

50

         * @generated↵

51

         */↵

51

         */↵

52

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

52

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

53

        {↵

53

        {↵

54

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

54

           XMLTypeResourceImpl.DataFrame resultLong = long_ == null ? new XMLTypeResourceImpl.DataFrame() : ↵

55

           positiveInteger↵

55

    long_;↵

56

     = null;↵

56

           long_ = null;↵

57

           resultPositiveInteger.pushOnto(previous);↵

57

           resultLong.pushOnto(previous);↵

58

           resultPositiveInteger.handleAttributes(attributes);↵

58

           resultLong.handleAttributes(attributes);↵

59

           return resultPositiveInteger;↵

59

           return resultLong;↵

60

        }

60

        }

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