2160-3-11

XMLTypeResourceImpl.DataFrame pushLongObject(XMLTypeResourceImpl.StackFrame previous, Attributes attributes) { XMLTypeResourceImpl.DataFrame resultLongObject = longObject == null ? new XMLTypeResourceImpl.DataFrame() : longObject; longObject = null; resultLongObject.pushOnto(previous); resultLongObject.handleAttributes(attributes); return resultLongObject; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public Long popLongObject(XMLTypeResourceImpl.DataFrame longObject) { Long resultLongObjectValue = XMLTypeFactory.eINSTANCE.createLongObject(longObject.popValue()); this.longObject = longObject; return resultLongObjectValue; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public XMLTypeResourceImpl.DataFrame pushName(XMLTypeResourceImpl.StackFrame previous, Attributes attributes) { XMLTypeResourceImpl.DataFrame resultName = name == null ? new XMLTypeResourceImpl.DataFrame() : name; name = null; resultName.pushOnto(previous); resultName.handleAttributes(attributes); return resultName; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public String popName(XMLTypeResourceImpl.DataFrame name) { String resultNameValue = XMLTypeFactory.eINSTANCE.createName(name.popValue()); this.name = name; return resultNameValue; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public 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; }
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; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public List<String> popNMTOKENSBase(XMLTypeResourceImpl.DataFrame nmtokensBase) { List<String> resultNMTOKENSBaseValue = XMLTypeFactory.eINSTANCE.createNMTOKENSBase(nmtokensBase.popValue()); this.nmtokensBase = nmtokensBase; return resultNMTOKENSBaseValue; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public XMLTypeResourceImpl.DataFrame pushNonNegativeInteger(XMLTypeResourceImpl.StackFrame previous, Attributes attributes) { XMLTypeResourceImpl.DataFrame resultNonNegativeInteger = nonNegativeInteger == null ? new XMLTypeResourceImpl.DataFrame() : nonNegativeInteger; nonNegativeInteger = null; resultNonNegativeInteger.pushOnto(previous); resultNonNegativeInteger.handleAttributes(attributes); return resultNonNegativeInteger; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public BigInteger popNonNegativeInteger(XMLTypeResourceImpl.DataFrame nonNegativeInteger) { BigInteger resultNonNegativeIntegerValue = XMLTypeFactory.eINSTANCE.createNonNegativeInteger(nonNegativeInteger.popValue()); this.nonNegativeInteger = nonNegativeInteger; return resultNonNegativeIntegerValue; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public 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; }

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

1

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

2

        {↵

2

        {↵

3

           XMLTypeResourceImpl.DataFrame resultLongObject = longObject == null ? new XMLTypeResourceImpl.DataFrame() : longObject;↵

3

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

4

           longObject↵

4

    nmtokensBase;↵

5

     = null;↵

5

           nmtokensBase = null;↵

6

           resultLongObject.pushOnto(previous);↵

6

           resultNMTOKENSBase.pushOnto(previous);↵

7

           resultLongObject.handleAttributes(attributes);↵

7

           resultNMTOKENSBase.handleAttributes(attributes);↵

8

           return resultLongObject;↵

8

           return resultNMTOKENSBase;↵

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 Long popLongObject(XMLTypeResourceImpl.DataFrame longObject)↵

15

        public List<String> popNMTOKENSBase(XMLTypeResourceImpl.DataFrame nmtokensBase)↵

16

        {↵

16

        {↵

17

          Long resultLongObjectValue = XMLTypeFactory.eINSTANCE.createLongObject(longObject.popValue());↵

17

          List<String> resultNMTOKENSBaseValue = XMLTypeFactory.eINSTANCE.create↵

18

          this.longObject = longObject↵

18

    NMTOKENSBase(nmtokensBase.popValue());↵

19

    ;↵

19

          this.nmtokensBase = nmtokensBase;↵

20

          return resultLongObjectValue;↵

20

          return resultNMTOKENSBaseValue;↵

21

        }↵

21

        }↵

22

        /**↵

22

        /**↵

23

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

23

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

24

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

24

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

25

         * @generated↵

25

         * @generated↵

26

         */↵

26

         */↵

27

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

27

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

28

        {↵

28

        {↵

29

           XMLTypeResourceImpl.DataFrame resultName = name == null ? new XMLTypeResourceImpl.DataFrame() : name;↵

29

           XMLTypeResourceImpl.DataFrame resultNonNegativeInteger = nonNegativeInteger == null ? new XMLTypeResourceImpl.DataFrame() : n↵

30

           name↵

30

    onNegativeInteger;↵

31

     = null;↵

31

           nonNegativeInteger = null;↵

32

           resultName.pushOnto(previous);↵

32

           resultNonNegativeInteger.pushOnto(previous);↵

33

           resultName.handleAttributes(attributes);↵

33

           resultNonNegativeInteger.handleAttributes(attributes);↵

34

           return resultName;↵

34

           return resultNonNegativeInteger;↵

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 String popName(XMLTypeResourceImpl.DataFrame name)↵

41

        public BigInteger popNonNegativeInteger(XMLTypeResourceImpl.DataFrame nonNegativeInteger)↵

42

        {↵

42

        {↵

43

          String resultNameValue = XMLTypeFactory.eINSTANCE.createName(name.popValue());↵

43

          BigInteger resultNonNegativeIntegerValue = XMLTypeFactory.eINSTANCE.createN↵

44

          this.name = name↵

44

    onNegativeInteger(nonNegativeInteger.popValue());↵

45

    ;↵

45

          this.nonNegativeInteger = nonNegativeInteger;↵

46

          return resultNameValue;↵

46

          return resultNonNegativeIntegerValue;↵

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

53

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

54

        {↵

54

        {↵

55

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

55

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

56

           ncName↵

56

    onPositiveInteger;↵

57

     = null;↵

57

           nonPositiveInteger = null;↵

58

           resultNCName.pushOnto(previous);↵

58

           resultNonPositiveInteger.pushOnto(previous);↵

59

           resultNCName.handleAttributes(attributes);↵

59

           resultNonPositiveInteger.handleAttributes(attributes);↵

60

           return resultNCName;↵

60

           return resultNonPositiveInteger;↵

61

        }

61

        }

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