2160-14-19

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 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; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public String popNMTOKEN(XMLTypeResourceImpl.DataFrame nmtoken) { String resultNMTOKENValue = XMLTypeFactory.eINSTANCE.createNMTOKEN(nmtoken.popValue()); this.nmtoken = nmtoken; return resultNMTOKENValue; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public XMLTypeResourceImpl.DataFrame pushNMTOKENS(XMLTypeResourceImpl.StackFrame previous, Attributes attributes) { XMLTypeResourceImpl.DataFrame resultNMTOKENS = nmtokens == null ? new XMLTypeResourceImpl.DataFrame() : nmtokens; nmtokens = null; resultNMTOKENS.pushOnto(previous); resultNMTOKENS.handleAttributes(attributes); return resultNMTOKENS; }

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

2

        {↵

2

        {↵

3

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

3

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

4

           nonPositiveInteger = null;↵

4

           negativeInteger = null;↵

5

           resultNonPositiveInteger.pushOnto(previous);↵

5

           resultNegativeInteger.pushOnto(previous);↵

6

           resultNonPositiveInteger.handleAttributes(attributes);↵

6

           resultNegativeInteger.handleAttributes(attributes);↵

7

           return resultNonPositiveInteger;↵

7

           return resultNegativeInteger;↵

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

14

        public BigInteger popNegativeInteger(XMLTypeResourceImpl.DataFrame negativeInteger)↵

15

        {↵

15

        {↵

16

          BigInteger resultNonPositiveIntegerValue = XMLTypeFactory.eINSTANCE.createNonPositiveInteger(nonPositiveInteger.popValue());↵

16

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

17

          this.nonPositiveInteger = nonPositiveInteger;↵

17

          this.negativeInteger = negativeInteger;↵

18

          return resultNonPositiveIntegerValue;↵

18

          return resultNegativeIntegerValue;↵

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

25

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

26

        {↵

26

        {↵

27

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

27

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

28

           normalizedString↵

28

    mtoken;↵

29

     = null;↵

29

           nmtoken = null;↵

30

           resultNormalizedString.pushOnto(previous);↵

30

           resultNMTOKEN.pushOnto(previous);↵

31

           resultNormalizedString.handleAttributes(attributes);↵

31

           resultNMTOKEN.handleAttributes(attributes);↵

32

           return resultNormalizedString;↵

32

           return resultNMTOKEN;↵

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

39

        public String popNMTOKEN(XMLTypeResourceImpl.DataFrame nmtoken)↵

40

        {↵

40

        {↵

41

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

41

          String resultNMTOKENValue = XMLTypeFactory.eINSTANCE.createNMTOKEN(nmtoken.popValue());↵

42

          this.normalizedString = normalizedString;↵

42

          this.nmtoken = nmtoken;↵

43

          return resultNormalizedStringValue;↵

43

          return resultNMTOKENValue;↵

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

50

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

51

        {↵

51

        {↵

52

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

52

           XMLTypeResourceImpl.DataFrame resultNMTOKENS = nmtokens == null ? new XMLTypeResourceImpl.DataFrame() : nmtokens;↵

53

           notation = null;↵

53

           nmtokens = null;↵

54

           resultNOTATION.pushOnto(previous);↵

54

           resultNMTOKENS.pushOnto(previous);↵

55

           resultNOTATION.handleAttributes(attributes);↵

55

           resultNMTOKENS.handleAttributes(attributes);↵

56

           return resultNOTATION;↵

56

           return resultNMTOKENS;↵

57

        }

57

        }

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