2170-1-2

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 pushToken(XMLTypeResourceImpl.StackFrame previous, Attributes attributes) { XMLTypeResourceImpl.DataFrame resultToken = token == null ? new XMLTypeResourceImpl.DataFrame() : token; token = null; resultToken.pushOnto(previous); resultToken.handleAttributes(attributes); return resultToken; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public String popToken(XMLTypeResourceImpl.DataFrame token) { String resultTokenValue = XMLTypeFactory.eINSTANCE.createToken(token.popValue()); this.token = token; return resultTokenValue; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public XMLTypeResourceImpl.DataFrame pushUnsignedByte(XMLTypeResourceImpl.StackFrame previous, Attributes attributes) { XMLTypeResourceImpl.DataFrame resultUnsignedByte = unsignedByte == null ? new XMLTypeResourceImpl.DataFrame() : unsignedByte; unsignedByte = null; resultUnsignedByte.pushOnto(previous); resultUnsignedByte.handleAttributes(attributes); return resultUnsignedByte; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public short popUnsignedByte(XMLTypeResourceImpl.DataFrame unsignedByte) { short resultUnsignedByteValue = XMLTypeFactory.eINSTANCE.createUnsignedByte(unsignedByte.popValue()); this.unsignedByte = unsignedByte; return resultUnsignedByteValue; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public XMLTypeResourceImpl.DataFrame pushUnsignedByteObject(XMLTypeResourceImpl.StackFrame previous, Attributes attributes) { XMLTypeResourceImpl.DataFrame resultUnsignedByteObject = unsignedByteObject == null ? new XMLTypeResourceImpl.DataFrame() : unsignedByteObject; unsignedByteObject = null; resultUnsignedByteObject.pushOnto(previous); resultUnsignedByteObject.handleAttributes(attributes); return resultUnsignedByteObject; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public Short popUnsignedByteObject(XMLTypeResourceImpl.DataFrame unsignedByteObject) { Short resultUnsignedByteObjectValue = XMLTypeFactory.eINSTANCE.createUnsignedByteObject(unsignedByteObject.popValue()); this.unsignedByteObject = unsignedByteObject; return resultUnsignedByteObjectValue; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public XMLTypeResourceImpl.DataFrame pushUnsignedInt(XMLTypeResourceImpl.StackFrame previous, Attributes attributes) { XMLTypeResourceImpl.DataFrame resultUnsignedInt = unsignedInt == null ? new XMLTypeResourceImpl.DataFrame() : unsignedInt; unsignedInt = null; resultUnsignedInt.pushOnto(previous); resultUnsignedInt.handleAttributes(attributes); return resultUnsignedInt; }

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

2

        {↵

2

        {↵

3

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

3

           XMLTypeResourceImpl.DataFrame resultToken = token == null ? new XMLTypeResourceImpl.DataFrame() : ↵

4

           idrefsBase↵

4

    token;↵

5

     = null;↵

5

           token = null;↵

6

           resultIDREFSBase.pushOnto(previous);↵

6

           resultToken.pushOnto(previous);↵

7

           resultIDREFSBase.handleAttributes(attributes);↵

7

           resultToken.handleAttributes(attributes);↵

8

           return resultIDREFSBase;↵

8

           return resultToken;↵

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

15

        public String popToken(XMLTypeResourceImpl.DataFrame token)↵

16

        {↵

16

        {↵

17

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

17

          String resultTokenValue = XMLTypeFactory.eINSTANCE.createToken(token.popValue());↵

18

          this.idrefsBase = idrefsBase;↵

18

          this.token = token;↵

19

          return resultIDREFSBaseValue;↵

19

          return resultTokenValue;↵

20

        }↵

20

        }↵

21

        /**↵

21

        /**↵

22

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

22

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

23

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

23

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

24

         * @generated↵

24

         * @generated↵

25

         */↵

25

         */↵

26

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

26

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

27

        {↵

27

        {↵

28

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

28

           XMLTypeResourceImpl.DataFrame resultUnsignedByte = unsignedByte == null ? new XMLTypeResourceImpl.DataFrame() : ↵

29

           int_↵

29

    unsignedByte;↵

30

     = null;↵

30

           unsignedByte = null;↵

31

           resultInt.pushOnto(previous);↵

31

           resultUnsignedByte.pushOnto(previous);↵

32

           resultInt.handleAttributes(attributes);↵

32

           resultUnsignedByte.handleAttributes(attributes);↵

33

           return resultInt;↵

33

           return resultUnsignedByte;↵

34

        }↵

34

        }↵

35

        /**↵

35

        /**↵

36

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

36

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

37

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

37

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

38

         * @generated↵

38

         * @generated↵

39

         */↵

39

         */↵

40

        public int popInt(XMLTypeResourceImpl.DataFrame int_)↵

40

        public short popUnsignedByte(XMLTypeResourceImpl.DataFrame unsignedByte)↵

41

        {↵

41

        {↵

42

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

42

          short resultUnsignedByteValue = XMLTypeFactory.eINSTANCE.create↵

43

          this.int_ = int_↵

43

    UnsignedByte(unsignedByte.popValue());↵

44

    ;↵

44

          this.unsignedByte = unsignedByte;↵

45

          return resultIntValue;↵

45

          return resultUnsignedByteValue;↵

46

        }↵

46

        }↵

47

        /**↵

47

        /**↵

48

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

48

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

49

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

49

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

50

         * @generated↵

50

         * @generated↵

51

         */↵

51

         */↵

52

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

52

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

53

        {↵

53

        {↵

54

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

54

           XMLTypeResourceImpl.DataFrame resultUnsignedByteObject = unsignedByteObject == null ? new XMLTypeResourceImpl.DataFrame() : ↵

55

           integer↵

55

    unsignedByteObject;↵

56

     = null;↵

56

           unsignedByteObject = null;↵

57

           resultInteger.pushOnto(previous);↵

57

           resultUnsignedByteObject.pushOnto(previous);↵

58

           resultInteger.handleAttributes(attributes);↵

58

           resultUnsignedByteObject.handleAttributes(attributes);↵

59

           return resultInteger;↵

59

           return resultUnsignedByteObject;↵

60

        }↵

60

        }↵

61

        /**↵

61

        /**↵

62

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

62

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

63

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

63

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

64

         * @generated↵

64

         * @generated↵

65

         */↵

65

         */↵

66

        public BigInteger popInteger(XMLTypeResourceImpl.DataFrame integer)↵

66

        public Short popUnsignedByteObject(XMLTypeResourceImpl.DataFrame unsignedByteObject)↵

67

        {↵

67

        {↵

68

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

68

          Short resultUnsignedByteObjectValue = XMLTypeFactory.eINSTANCE.create↵

69

          this.integer = integer↵

69

    UnsignedByteObject(unsignedByteObject.popValue());↵

70

    ;↵

70

          this.unsignedByteObject = unsignedByteObject;↵

71

          return resultIntegerValue;↵

71

          return resultUnsignedByteObjectValue;↵

72

        }↵

72

        }↵

73

        /**↵

73

        /**↵

74

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

74

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

75

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

75

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

76

         * @generated↵

76

         * @generated↵

77

         */↵

77

         */↵

78

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

78

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

79

        {↵

79

        {↵

80

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

80

           XMLTypeResourceImpl.DataFrame resultUnsignedInt = unsignedInt == null ? new XMLTypeResourceImpl.DataFrame() : ↵

81

           intObjec↵

81

    unsignedInt;↵

82

    t = null;↵

82

           unsignedInt = null;↵

83

           resultIntObject.pushOnto(previous);↵

83

           resultUnsignedInt.pushOnto(previous);↵

84

           resultIntObject.handleAttributes(attributes);↵

84

           resultUnsignedInt.handleAttributes(attributes);↵

85

           return resultIntObject;↵

85

           return resultUnsignedInt;↵

86

        }

86

        }

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