2160-6-8

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 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; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public List<String> popNMTOKENS(XMLTypeResourceImpl.DataFrame nmtokens) { List<String> resultNMTOKENSValue = XMLTypeFactory.eINSTANCE.createNMTOKENS(nmtokens.popValue()); this.nmtokens = nmtokens; return resultNMTOKENSValue; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public XMLTypeResourceImpl.DataFrame pushNMTOKENSBase(XMLTypeResourceImpl.StackFrame previous, Attributes attributes) { XMLTypeResourceImpl.DataFrame resultNMTOKENSBase = nmtokensBase == null ? new XMLTypeResourceImpl.DataFrame() : nmtokensBase; nmtokensBase = null; resultNMTOKENSBase.pushOnto(previous); resultNMTOKENSBase.handleAttributes(attributes); return resultNMTOKENSBase; }

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

2

        {↵

2

        {↵

3

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

3

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

4

           ncName = null;↵

4

           nmtoken = null;↵

5

           resultNCName.pushOnto(previous);↵

5

           resultNMTOKEN.pushOnto(previous);↵

6

           resultNCName.handleAttributes(attributes);↵

6

           resultNMTOKEN.handleAttributes(attributes);↵

7

           return resultNCName;↵

7

           return resultNMTOKEN;↵

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

14

        public String popNMTOKEN(XMLTypeResourceImpl.DataFrame nmtoken)↵

15

        {↵

15

        {↵

16

          String resultNCNameValue = XMLTypeFactory.eINSTANCE.createNCName(ncName.popValue());↵

16

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

17

          this.ncName = ncName;↵

17

          this.nmtoken = nmtoken;↵

18

          return resultNCNameValue;↵

18

          return resultNMTOKENValue;↵

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

25

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

26

        {↵

26

        {↵

27

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

27

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

28

           negativeInteger↵

28

    mtokens;↵

29

     = null;↵

29

           nmtokens = null;↵

30

           resultNegativeInteger.pushOnto(previous);↵

30

           resultNMTOKENS.pushOnto(previous);↵

31

           resultNegativeInteger.handleAttributes(attributes);↵

31

           resultNMTOKENS.handleAttributes(attributes);↵

32

           return resultNegativeInteger;↵

32

           return resultNMTOKENS;↵

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

39

        public List<String> popNMTOKENS(XMLTypeResourceImpl.DataFrame n↵

40

        {↵

41

          BigInteger resultNegativeInteger↵

40

    mtokens)↵

41

        {↵

42

    Value = XMLTypeFactory.eINSTANCE.createNegativeInteger(negativeInteger.popValue());↵

42

          List<String> resultNMTOKENSValue = XMLTypeFactory.eINSTANCE.createNMTOKENS(nmtokens.popValue());↵

43

          this.negativeInteger = negativeInteger;↵

43

          this.nmtokens = nmtokens;↵

44

          return resultNegativeIntegerValue;↵

44

          return resultNMTOKENSValue;↵

45

        }↵

45

        }↵

46

        /**↵

46

        /**↵

47

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

47

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

48

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

48

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

49

         * @generated↵

49

         * @generated↵

50

         */↵

50

         */↵

51

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

51

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

52

        {↵

52

        {↵

53

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

53

           XMLTypeResourceImpl.DataFrame resultNMTOKENSBase = nmtokensBase == null ? new XMLTypeResourceImpl.DataFrame() : nmtokensBase;↵

54

           nmtoken = null;↵

54

           nmtokensBase = null;↵

55

           resultNMTOKEN.pushOnto(previous);↵

55

           resultNMTOKENSBase.pushOnto(previous);↵

56

           resultNMTOKEN.handleAttributes(attributes);↵

56

           resultNMTOKENSBase.handleAttributes(attributes);↵

57

           return resultNMTOKEN;↵

57

           return resultNMTOKENSBase;↵

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