2162-3-5

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; } /** * <!-- 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; }
XMLTypeResourceImpl.DataFrame pushIDREF(XMLTypeResourceImpl.StackFrame previous, Attributes attributes) { XMLTypeResourceImpl.DataFrame resultIDREF = idref == null ? new XMLTypeResourceImpl.DataFrame() : idref; idref = null; resultIDREF.pushOnto(previous); resultIDREF.handleAttributes(attributes); return resultIDREF; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public String popIDREF(XMLTypeResourceImpl.DataFrame idref) { String resultIDREFValue = XMLTypeFactory.eINSTANCE.createIDREF(idref.popValue()); this.idref = idref; return resultIDREFValue; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public XMLTypeResourceImpl.DataFrame pushIDREFS(XMLTypeResourceImpl.StackFrame previous, Attributes attributes) { XMLTypeResourceImpl.DataFrame resultIDREFS = idrefs == null ? new XMLTypeResourceImpl.DataFrame() : idrefs; idrefs = null; resultIDREFS.pushOnto(previous); resultIDREFS.handleAttributes(attributes); return resultIDREFS; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public List<String> popIDREFS(XMLTypeResourceImpl.DataFrame idrefs) { List<String> resultIDREFSValue = XMLTypeFactory.eINSTANCE.createIDREFS(idrefs.popValue()); this.idrefs = idrefs; return resultIDREFSValue; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public XMLTypeResourceImpl.DataFrame pushIDREFSBase(XMLTypeResourceImpl.StackFrame previous, Attributes attributes) { XMLTypeResourceImpl.DataFrame resultIDREFSBase = idrefsBase == null ? new XMLTypeResourceImpl.DataFrame() : idrefsBase; idrefsBase = null; resultIDREFSBase.pushOnto(previous); resultIDREFSBase.handleAttributes(attributes); return resultIDREFSBase; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public List<String> popIDREFSBase(XMLTypeResourceImpl.DataFrame idrefsBase) { List<String> resultIDREFSBaseValue = XMLTypeFactory.eINSTANCE.createIDREFSBase(idrefsBase.popValue()); this.idrefsBase = idrefsBase; return resultIDREFSBaseValue; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public XMLTypeResourceImpl.DataFrame pushInt(XMLTypeResourceImpl.StackFrame previous, Attributes attributes) { XMLTypeResourceImpl.DataFrame resultInt = int_ == null ? new XMLTypeResourceImpl.DataFrame() : int_; int_ = null; resultInt.pushOnto(previous); resultInt.handleAttributes(attributes); return resultInt; }

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

1

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

2

        {↵

2

        {↵

3

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

3

           XMLTypeResourceImpl.DataFrame resultIDREF = idref == null ? new XMLTypeResourceImpl.DataFrame() : ↵

4

           nmtokensBase↵

4

    idref;↵

5

     = null;↵

5

           idref = null;↵

6

           resultNMTOKENSBase.pushOnto(previous);↵

6

           resultIDREF.pushOnto(previous);↵

7

           resultNMTOKENSBase.handleAttributes(attributes);↵

7

           resultIDREF.handleAttributes(attributes);↵

8

           return resultNMTOKENSBase;↵

8

           return resultIDREF;↵

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 List<String> popNMTOKENSBase(XMLTypeResourceImpl.DataFrame nmtokensBase)↵

15

        public String popIDREF(XMLTypeResourceImpl.DataFrame idref)↵

16

        {↵

16

        {↵

17

          List<String> resultNMTOKENSBaseValue = XMLTypeFactory.eINSTANCE.createNMTOKENSBase(nmtokensBase.popValue());↵

17

          String resultIDREFValue = XMLTypeFactory.eINSTANCE.create↵

18

          this.nmtokensBase = nmtokensBase↵

18

    IDREF(idref.popValue());↵

19

    ;↵

19

          this.idref = idref;↵

20

          return resultNMTOKENSBaseValue;↵

20

          return resultIDREFValue;↵

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

27

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

28

        {↵

28

        {↵

29

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

29

           XMLTypeResourceImpl.DataFrame resultIDREFS = idrefs == null ? new XMLTypeResourceImpl.DataFrame() : ↵

30

           nonNegativeInteger↵

30

    idrefs;↵

31

     = null;↵

31

           idrefs = null;↵

32

           resultNonNegativeInteger.pushOnto(previous);↵

32

           resultIDREFS.pushOnto(previous);↵

33

           resultNonNegativeInteger.handleAttributes(attributes);↵

33

           resultIDREFS.handleAttributes(attributes);↵

34

           return resultNonNegativeInteger;↵

34

           return resultIDREFS;↵

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 BigInteger popNonNegativeInteger(XMLTypeResourceImpl.DataFrame nonNegativeInteger)↵

41

        public List<String> popIDREFS(XMLTypeResourceImpl.DataFrame ↵

42

        {↵

43

          BigInteger resultNonNegativeInteger↵

42

    idrefs)↵

43

        {↵

44

    Value = XMLTypeFactory.eINSTANCE.createNonNegativeInteger(nonNegativeInteger.popValue());↵

44

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

45

          this.nonNegativeInteger = nonNegativeInteger↵

45

    IDREFS(idrefs.popValue());↵

46

    ;↵

46

          this.idrefs = idrefs;↵

47

          return resultNonNegativeIntegerValue;↵

47

          return resultIDREFSValue;↵

48

        }↵

48

        }↵

49

        /**↵

49

        /**↵

50

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

50

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

51

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

51

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

52

         * @generated↵

52

         * @generated↵

53

         */↵

53

         */↵

54

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

54

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

55

        {↵

55

        {↵

56

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

56

           XMLTypeResourceImpl.DataFrame resultIDREFSBase = idrefsBase == null ? new XMLTypeResourceImpl.DataFrame() : ↵

57

           nonPositiveInteger↵

57

    idrefsBase;↵

58

     = null;↵

58

           idrefsBase = null;↵

59

           resultNonPositiveInteger.pushOnto(previous);↵

59

           resultIDREFSBase.pushOnto(previous);↵

60

           resultNonPositiveInteger.handleAttributes(attributes);↵

60

           resultIDREFSBase.handleAttributes(attributes);↵

61

           return resultNonPositiveInteger;↵

61

           return resultIDREFSBase;↵

62

        }↵

62

        }↵

63

        /**↵

63

        /**↵

64

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

64

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

65

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

65

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

66

         * @generated↵

66

         * @generated↵

67

         */↵

67

         */↵

68

        public BigInteger popNonPositiveInteger(XMLTypeResourceImpl.DataFrame nonPositiveInteger)↵

68

        public List<String> popIDREFSBase(XMLTypeResourceImpl.DataFrame ↵

69

        {↵

70

          BigInteger resultNonPositiveInteger↵

69

    idrefsBase)↵

70

        {↵

71

    Value = XMLTypeFactory.eINSTANCE.createNonPositiveInteger(nonPositiveInteger.popValue());↵

71

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

72

          this.nonPositiveInteger = nonPositiveInteger↵

72

    IDREFSBase(idrefsBase.popValue());↵

73

    ;↵

73

          this.idrefsBase = idrefsBase;↵

74

          return resultNonPositiveIntegerValue;↵

74

          return resultIDREFSBaseValue;↵

75

        }↵

75

        }↵

76

        /**↵

76

        /**↵

77

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

77

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

78

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

78

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

79

         * @generated↵

79

         * @generated↵

80

         */↵

80

         */↵

81

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

81

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

82

        {↵

82

        {↵

83

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

83

           XMLTypeResourceImpl.DataFrame resultInt = int_ == null ? new XMLTypeResourceImpl.DataFrame() : ↵

84

           normalizedString↵

84

    int_;↵

85

     = null;↵

85

           int_ = null;↵

86

           resultNormalizedString.pushOnto(previous);↵

86

           resultInt.pushOnto(previous);↵

87

           resultNormalizedString.handleAttributes(attributes);↵

87

           resultInt.handleAttributes(attributes);↵

88

           return resultNormalizedString;↵

88

           return resultInt;↵

89

        }

89

        }

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