2170-1-3

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; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public int popInt(XMLTypeResourceImpl.DataFrame int_) { int resultIntValue = XMLTypeFactory.eINSTANCE.createInt(int_.popValue()); this.int_ = int_; return resultIntValue; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public XMLTypeResourceImpl.DataFrame pushInteger(XMLTypeResourceImpl.StackFrame previous, Attributes attributes) { XMLTypeResourceImpl.DataFrame resultInteger = integer == null ? new XMLTypeResourceImpl.DataFrame() : integer; integer = null; resultInteger.pushOnto(previous); resultInteger.handleAttributes(attributes); return resultInteger; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public BigInteger popInteger(XMLTypeResourceImpl.DataFrame integer) { BigInteger resultIntegerValue = XMLTypeFactory.eINSTANCE.createInteger(integer.popValue()); this.integer = integer; return resultIntegerValue; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public XMLTypeResourceImpl.DataFrame pushIntObject(XMLTypeResourceImpl.StackFrame previous, Attributes attributes) { XMLTypeResourceImpl.DataFrame resultIntObject = intObject == null ? new XMLTypeResourceImpl.DataFrame() : intObject; intObject = null; resultIntObject.pushOnto(previous); resultIntObject.handleAttributes(attributes); return resultIntObject; }
XMLTypeResourceImpl.DataFrame pushQName(XMLTypeResourceImpl.StackFrame previous, Attributes attributes) { XMLTypeResourceImpl.DataFrame resultQName = qName == null ? new XMLTypeResourceImpl.DataFrame() : qName; qName = null; resultQName.pushOnto(previous); resultQName.handleAttributes(attributes); return resultQName; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public QName popQName(XMLTypeResourceImpl.DataFrame qName) { QName resultQNameValue = XMLTypeFactory.eINSTANCE.createQName(qName.popValue()); this.qName = qName; return resultQNameValue; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public XMLTypeResourceImpl.DataFrame pushShort(XMLTypeResourceImpl.StackFrame previous, Attributes attributes) { XMLTypeResourceImpl.DataFrame resultShort = short_ == null ? new XMLTypeResourceImpl.DataFrame() : short_; short_ = null; resultShort.pushOnto(previous); resultShort.handleAttributes(attributes); return resultShort; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public short popShort(XMLTypeResourceImpl.DataFrame short_) { short resultShortValue = XMLTypeFactory.eINSTANCE.createShort(short_.popValue()); this.short_ = short_; return resultShortValue; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public XMLTypeResourceImpl.DataFrame pushShortObject(XMLTypeResourceImpl.StackFrame previous, Attributes attributes) { XMLTypeResourceImpl.DataFrame resultShortObject = shortObject == null ? new XMLTypeResourceImpl.DataFrame() : shortObject; shortObject = null; resultShortObject.pushOnto(previous); resultShortObject.handleAttributes(attributes); return resultShortObject; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public Short popShortObject(XMLTypeResourceImpl.DataFrame shortObject) { Short resultShortObjectValue = XMLTypeFactory.eINSTANCE.createShortObject(shortObject.popValue()); this.shortObject = shortObject; return resultShortObjectValue; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public XMLTypeResourceImpl.DataFrame pushString(XMLTypeResourceImpl.StackFrame previous, Attributes attributes) { XMLTypeResourceImpl.DataFrame resultString = string == null ? new XMLTypeResourceImpl.DataFrame() : string; string = null; resultString.pushOnto(previous); resultString.handleAttributes(attributes); return resultString; }

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

1

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

2

        {↵

2

        {↵

3

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

3

           XMLTypeResourceImpl.DataFrame resultQName = qName == null ? new XMLTypeResourceImpl.DataFrame() : qName;↵

4

           idrefsBase = null;↵

4

           qName = null;↵

5

           resultIDREFSBase.pushOnto(previous);↵

5

           resultQName.pushOnto(previous);↵

6

           resultIDREFSBase.handleAttributes(attributes);↵

6

           resultQName.handleAttributes(attributes);↵

7

           return resultIDREFSBase;↵

7

           return resultQName;↵

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

14

        public QName popQName(XMLTypeResourceImpl.DataFrame qName)↵

15

        {↵

15

        {↵

16

          List<String> resultIDREFSBaseValue = XMLTypeFactory.eINSTANCE.createIDREFSBase(idrefsBase.popValue());↵

16

          QName resultQNameValue = XMLTypeFactory.eINSTANCE.createQName(qName.popValue());↵

17

          this.idrefsBase = idrefsBase;↵

17

          this.qName = qName;↵

18

          return resultIDREFSBaseValue;↵

18

          return resultQNameValue;↵

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

25

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

26

        {↵

26

        {↵

27

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

27

           XMLTypeResourceImpl.DataFrame resultShort = short_ == null ? new XMLTypeResourceImpl.DataFrame() : short_;↵

28

           int_ = null;↵

28

           short_ = null;↵

29

           resultInt.pushOnto(previous);↵

29

           resultShort.pushOnto(previous);↵

30

           resultInt.handleAttributes(attributes);↵

30

           resultShort.handleAttributes(attributes);↵

31

           return resultInt;↵

31

           return resultShort;↵

32

        }↵

32

        }↵

33

        /**↵

33

        /**↵

34

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

34

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

35

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

35

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

36

         * @generated↵

36

         * @generated↵

37

         */↵

37

         */↵

38

        public int popInt(XMLTypeResourceImpl.DataFrame int_)↵

38

        public short popShort(XMLTypeResourceImpl.DataFrame short_)↵

39

        {↵

39

        {↵

40

          int resultIntValue = XMLTypeFactory.eINSTANCE.createInt(int_.popValue());↵

40

          short resultShortValue = XMLTypeFactory.eINSTANCE.createShort(short_.popValue());↵

41

          this.int_ = int_;↵

41

          this.short_ = short_;↵

42

          return resultIntValue;↵

42

          return resultShortValue;↵

43

        }↵

43

        }↵

44

        /**↵

44

        /**↵

45

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

45

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

46

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

46

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

47

         * @generated↵

47

         * @generated↵

48

         */↵

48

         */↵

49

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

49

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

50

        {↵

50

        {↵

51

           XMLTypeResourceImpl.DataFrame resultInteger = integer == null ? new XMLTypeResourceImpl.DataFrame() : integer;↵

51

           XMLTypeResourceImpl.DataFrame resultShortObject = shortObject == null ? new XMLTypeResourceImpl.DataFrame() : ↵

52

           integer↵

52

    shortObject;↵

53

     = null;↵

53

           shortObject = null;↵

54

           resultInteger.pushOnto(previous);↵

54

           resultShortObject.pushOnto(previous);↵

55

           resultInteger.handleAttributes(attributes);↵

55

           resultShortObject.handleAttributes(attributes);↵

56

           return resultInteger;↵

56

           return resultShortObject;↵

57

        }↵

57

        }↵

58

        /**↵

58

        /**↵

59

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

59

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

60

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

60

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

61

         * @generated↵

61

         * @generated↵

62

         */↵

62

         */↵

63

        public BigInteger popInteger(XMLTypeResourceImpl.DataFrame integer)↵

63

        public Short popShortObject(XMLTypeResourceImpl.DataFrame shortObject)↵

64

        {↵

64

        {↵

65

          BigInteger resultIntegerValue = XMLTypeFactory.eINSTANCE.createInteger(integer.popValue());↵

65

          Short resultShortObjectValue = XMLTypeFactory.eINSTANCE.createShortObject(shortObject.popValue());↵

66

          this.integer = integer;↵

66

          this.shortObject = shortObject;↵

67

          return resultIntegerValue;↵

67

          return resultShortObjectValue;↵

68

        }↵

68

        }↵

69

        /**↵

69

        /**↵

70

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

70

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

71

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

71

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

72

         * @generated↵

72

         * @generated↵

73

         */↵

73

         */↵

74

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

74

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

75

        {↵

75

        {↵

76

           XMLTypeResourceImpl.DataFrame resultIntObject = intObject == null ? new XMLTypeResourceImpl.DataFrame() : intObject;↵

76

           XMLTypeResourceImpl.DataFrame resultString = string == null ? new XMLTypeResourceImpl.DataFrame() : ↵

77

           intObject↵

77

    string;↵

78

     = null;↵

78

           string = null;↵

79

           resultIntObject.pushOnto(previous);↵

79

           resultString.pushOnto(previous);↵

80

           resultIntObject.handleAttributes(attributes);↵

80

           resultString.handleAttributes(attributes);↵

81

           return resultIntObject;↵

81

           return resultString;↵

82

        }

82

        }

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