2160-6-14

XMLTypeResourceImpl.DataFrame pushNCName(XMLTypeResourceImpl.StackFrame previous, Attributes attributes) { XMLTypeResourceImpl.DataFrame resultNCName = ncName == null ? new XMLTypeResourceImpl.DataFrame() : ncName; ncName = null; resultNCName.pushOnto(previous); resultNCName.handleAttributes(attributes); return resultNCName; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public String popNCName(XMLTypeResourceImpl.DataFrame ncName) { String resultNCNameValue = XMLTypeFactory.eINSTANCE.createNCName(ncName.popValue()); this.ncName = ncName; return resultNCNameValue; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public XMLTypeResourceImpl.DataFrame pushNegativeInteger(XMLTypeResourceImpl.StackFrame previous, Attributes attributes) { XMLTypeResourceImpl.DataFrame resultNegativeInteger = negativeInteger == null ? new XMLTypeResourceImpl.DataFrame() : negativeInteger; negativeInteger = null; resultNegativeInteger.pushOnto(previous); resultNegativeInteger.handleAttributes(attributes); return resultNegativeInteger; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public BigInteger popNegativeInteger(XMLTypeResourceImpl.DataFrame negativeInteger) { BigInteger resultNegativeIntegerValue = XMLTypeFactory.eINSTANCE.createNegativeInteger(negativeInteger.popValue()); this.negativeInteger = negativeInteger; return resultNegativeIntegerValue; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public XMLTypeResourceImpl.DataFrame pushNMTOKEN(XMLTypeResourceImpl.StackFrame previous, Attributes attributes) { XMLTypeResourceImpl.DataFrame resultNMTOKEN = nmtoken == null ? new XMLTypeResourceImpl.DataFrame() : nmtoken; nmtoken = null; resultNMTOKEN.pushOnto(previous); resultNMTOKEN.handleAttributes(attributes); return resultNMTOKEN; }
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; }

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

1

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

2

        {↵

2

        {↵

3

           XMLTypeResourceImpl.DataFrame resultNCName = ncName == null ? new XMLTypeResourceImpl.DataFrame() : ncName;↵

3

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

4

           ncName↵

4

    onPositiveInteger;↵

5

     = null;↵

5

           nonPositiveInteger = null;↵

6

           resultNCName.pushOnto(previous);↵

6

           resultNonPositiveInteger.pushOnto(previous);↵

7

           resultNCName.handleAttributes(attributes);↵

7

           resultNonPositiveInteger.handleAttributes(attributes);↵

8

           return resultNCName;↵

8

           return resultNonPositiveInteger;↵

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 popNCName(XMLTypeResourceImpl.DataFrame ncName)↵

15

        public BigInteger popNonPositiveInteger(XMLTypeResourceImpl.DataFrame n↵

16

        {↵

17

          String resultNCName↵

16

    onPositiveInteger)↵

17

        {↵

18

    Value = XMLTypeFactory.eINSTANCE.createNCName(ncName.popValue());↵

18

          BigInteger resultNonPositiveIntegerValue = XMLTypeFactory.eINSTANCE.createN↵

19

          this.ncName = ncName↵

19

    onPositiveInteger(nonPositiveInteger.popValue());↵

20

    ;↵

20

          this.nonPositiveInteger = nonPositiveInteger;↵

21

          return resultNCNameValue;↵

21

          return resultNonPositiveIntegerValue;↵

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

28

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

29

        {↵

29

        {↵

30

           XMLTypeResourceImpl.DataFrame resultNegativeInteger = negativeInteger == null ? new XMLTypeResourceImpl.DataFrame() : negativeInteger;↵

30

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

31

           negativeInteger↵

31

    ormalizedString;↵

32

     = null;↵

32

           normalizedString = null;↵

33

           resultNegativeInteger.pushOnto(previous);↵

33

           resultNormalizedString.pushOnto(previous);↵

34

           resultNegativeInteger.handleAttributes(attributes);↵

34

           resultNormalizedString.handleAttributes(attributes);↵

35

           return resultNegativeInteger;↵

35

           return resultNormalizedString;↵

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 BigInteger popNegativeInteger(XMLTypeResourceImpl.DataFrame negativeInteger)↵

42

        public String popNormalizedString(XMLTypeResourceImpl.DataFrame normalizedString)↵

43

        {↵

43

        {↵

44

          BigInteger resultNegativeIntegerValue = XMLTypeFactory.eINSTANCE.createNegativeInteger(negativeInteger.popValue());↵

44

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

45

          this.negativeInteger = negativeInteger;↵

45

          this.normalizedString = normalizedString;↵

46

          return resultNegativeIntegerValue;↵

46

          return resultNormalizedStringValue;↵

47

        }↵

47

        }↵

48

        /**↵

48

        /**↵

49

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

49

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

50

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

50

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

51

         * @generated↵

51

         * @generated↵

52

         */↵

52

         */↵

53

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

53

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

54

        {↵

54

        {↵

55

           XMLTypeResourceImpl.DataFrame resultNMTOKEN = nmtoken == null ? new XMLTypeResourceImpl.DataFrame() : nmtoken;↵

55

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

56

           nmtoken = null;↵

56

           notation = null;↵

57

           resultNMTOKEN.pushOnto(previous);↵

57

           resultNOTATION.pushOnto(previous);↵

58

           resultNMTOKEN.handleAttributes(attributes);↵

58

           resultNOTATION.handleAttributes(attributes);↵

59

           return resultNMTOKEN;↵

59

           return resultNOTATION;↵

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