1652-1-2

E set(int index, E object) { throw new UnsupportedOperationException(); } /** * Throws an exception. * @exception UnsupportedOperationException always because it's not supported. */ @Override public boolean add(E object) { throw new UnsupportedOperationException(); } /** * Throws an exception. * @exception UnsupportedOperationException always because it's not supported. */ @Override public void add(int index, E object) { throw new UnsupportedOperationException(); } /** * Throws an exception. * @exception UnsupportedOperationException always because it's not supported. */ @Override public boolean addAll(Collection<? extends E> collection) { throw new UnsupportedOperationException(); } /** * Throws an exception. * @exception UnsupportedOperationException always because it's not supported. */ @Override public boolean addAll(int index, Collection<? extends E> collection) { throw new UnsupportedOperationException(); } /** * Throws an exception. * @exception UnsupportedOperationException always because it's not supported. */ @Override public boolean remove(Object object) { throw new UnsupportedOperationException(); } /** * Throws an exception. * @exception UnsupportedOperationException always because it's not supported. */ @Override public E remove(int index) { throw new UnsupportedOperationException(); } /** * Throws an exception. * @exception UnsupportedOperationException always because it's not supported. */ @Override public boolean removeAll(Collection<?> collection) { throw new UnsupportedOperationException(); } /** * Throws an exception. * @exception UnsupportedOperationException always because it's not supported. */ @Override public boolean retainAll(Collection<?> collection) { throw new UnsupportedOperationException(); } /** * Throws an exception. * @exception UnsupportedOperationException always because it's not supported. */ @Override public void clear() { throw new UnsupportedOperationException(); } /** * Throws an exception. * @exception UnsupportedOperationException always because it's not supported. */ @Override public void move(int index, E object) { throw new UnsupportedOperationException(); } /** * Throws an exception. * @exception UnsupportedOperationException always because it's not supported. */ @Override public E move(int targetIndex, int sourceIndex) { throw new UnsupportedOperationException(); }
E set(int index, E object) { throw new UnsupportedOperationException(); } /** * Throws an exception. * @exception UnsupportedOperationException always because it's not supported. */ @Override public boolean add(E object) { throw new UnsupportedOperationException(); } /** * Throws an exception. * @exception UnsupportedOperationException always because it's not supported. */ @Override public void add(int index, E object) { throw new UnsupportedOperationException(); } /** * Throws an exception. * @exception UnsupportedOperationException always because it's not supported. */ @Override public boolean addAll(Collection<? extends E> collection) { throw new UnsupportedOperationException(); } /** * Throws an exception. * @exception UnsupportedOperationException always because it's not supported. */ @Override public boolean addAll(int index, Collection<? extends E> collection) { throw new UnsupportedOperationException(); } /** * Throws an exception. * @exception UnsupportedOperationException always because it's not supported. */ @Override public boolean remove(Object object) { throw new UnsupportedOperationException(); } /** * Throws an exception. * @exception UnsupportedOperationException always because it's not supported. */ @Override public E remove(int index) { throw new UnsupportedOperationException(); } /** * Throws an exception. * @exception UnsupportedOperationException always because it's not supported. */ @Override public boolean removeAll(Collection<?> collection) { throw new UnsupportedOperationException(); } /** * Throws an exception. * @exception UnsupportedOperationException always because it's not supported. */ @Override public boolean retainAll(Collection<?> collection) { throw new UnsupportedOperationException(); } /** * Throws an exception. * @exception UnsupportedOperationException always because it's not supported. */ @Override public void clear() { throw new UnsupportedOperationException(); } /** * Throws an exception. * @exception UnsupportedOperationException always because it's not supported. */ @Override public void move(int index, E object) { throw new UnsupportedOperationException(); } /** * Throws an exception. * @exception UnsupportedOperationException always because it's not supported. */ @Override public E move(int targetIndex, int sourceIndex) { throw new UnsupportedOperationException(); }

Clone fragments detected by clone detection tool
File path: /emf-2.4.1/src/org/eclipse/emf/common/util/BasicEList.java |  | File path: /emf-2.4.1/src/org/eclipse/emf/common/util/DelegatingEList.java
Method name: `` |  | Method name: ``
Number of AST nodes: 0 |  | Number of AST nodes: 0

1

    E set(int index, E object) ↵

1

    E set(int index, E object) ↵

2

        {↵

2

        {↵

3

          throw new UnsupportedOperationException();↵

3

          throw new UnsupportedOperationException();↵

4

        }↵

4

        }↵

5

        /**↵

5

        /**↵

6

         * Throws an exception.↵

6

         * Throws an exception.↵

7

         * @exception UnsupportedOperationException always because it's not supported.↵

7

         * @exception UnsupportedOperationException always because it's not supported.↵

8

         */↵

8

         */↵

9

        @Override↵

9

        @Override↵

10

        public boolean add(E object) ↵

10

        public boolean add(E object) ↵

11

        {↵

11

        {↵

12

          throw new UnsupportedOperationException();↵

12

          throw new UnsupportedOperationException();↵

13

        }↵

13

        }↵

14

        /**↵

14

        /**↵

15

         * Throws an exception.↵

15

         * Throws an exception.↵

16

         * @exception UnsupportedOperationException always because it's not supported.↵

16

         * @exception UnsupportedOperationException always because it's not supported.↵

17

         */↵

17

         */↵

18

        @Override↵

18

        @Override↵

19

        public void add(int index, E object) ↵

19

        public void add(int index, E object) ↵

20

        {↵

20

        {↵

21

          throw new UnsupportedOperationException();↵

21

          throw new UnsupportedOperationException();↵

22

        }↵

22

        }↵

23

        /**↵

23

        /**↵

24

         * Throws an exception.↵

24

         * Throws an exception.↵

25

         * @exception UnsupportedOperationException always because it's not supported.↵

25

         * @exception UnsupportedOperationException always because it's not supported.↵

26

         */↵

26

         */↵

27

        @Override↵

27

        @Override↵

28

        public boolean addAll(Collection<? extends E> collection) ↵

28

        public boolean addAll(Collection<? extends E> collection) ↵

29

        {↵

29

        {↵

30

          throw new UnsupportedOperationException();↵

30

          throw new UnsupportedOperationException();↵

31

        }↵

31

        }↵

32

        /**↵

32

        /**↵

33

         * Throws an exception.↵

33

         * Throws an exception.↵

34

         * @exception UnsupportedOperationException always because it's not supported.↵

34

         * @exception UnsupportedOperationException always because it's not supported.↵

35

         */↵

35

         */↵

36

        @Override↵

36

        @Override↵

37

        public boolean addAll(int index, Collection<? extends E> collection) ↵

37

        public boolean addAll(int index, Collection<? extends E> collection) ↵

38

        {↵

38

        {↵

39

          throw new UnsupportedOperationException();↵

39

          throw new UnsupportedOperationException();↵

40

        }↵

40

        }↵

41

        /**↵

41

        /**↵

42

         * Throws an exception.↵

42

         * Throws an exception.↵

43

         * @exception UnsupportedOperationException always because it's not supported.↵

43

         * @exception UnsupportedOperationException always because it's not supported.↵

44

         */↵

44

         */↵

45

        @Override↵

45

        @Override↵

46

        public boolean remove(Object object) ↵

46

        public boolean remove(Object object) ↵

47

        {↵

47

        {↵

48

          throw new UnsupportedOperationException();↵

48

          throw new UnsupportedOperationException();↵

49

        }↵

49

        }↵

50

        /**↵

50

        /**↵

51

         * Throws an exception.↵

51

         * Throws an exception.↵

52

         * @exception UnsupportedOperationException always because it's not supported.↵

52

         * @exception UnsupportedOperationException always because it's not supported.↵

53

         */↵

53

         */↵

54

        @Override↵

54

        @Override↵

55

        public E remove(int index) ↵

55

        public E remove(int index) ↵

56

        {↵

56

        {↵

57

          throw new UnsupportedOperationException();↵

57

          throw new UnsupportedOperationException();↵

58

        }↵

58

        }↵

59

        /**↵

59

        /**↵

60

         * Throws an exception.↵

60

         * Throws an exception.↵

61

         * @exception UnsupportedOperationException always because it's not supported.↵

61

         * @exception UnsupportedOperationException always because it's not supported.↵

62

         */↵

62

         */↵

63

        @Override↵

63

        @Override↵

64

        public boolean removeAll(Collection<?> collection) ↵

64

        public boolean removeAll(Collection<?> collection) ↵

65

        {↵

65

        {↵

66

          throw new UnsupportedOperationException();↵

66

          throw new UnsupportedOperationException();↵

67

        }↵

67

        }↵

68

        /**↵

68

        /**↵

69

         * Throws an exception.↵

69

         * Throws an exception.↵

70

         * @exception UnsupportedOperationException always because it's not supported.↵

70

         * @exception UnsupportedOperationException always because it's not supported.↵

71

         */↵

71

         */↵

72

        @Override↵

72

        @Override↵

73

        public boolean retainAll(Collection<?> collection) ↵

73

        public boolean retainAll(Collection<?> collection) ↵

74

        {↵

74

        {↵

75

          throw new UnsupportedOperationException();↵

75

          throw new UnsupportedOperationException();↵

76

        }↵

76

        }↵

77

        /**↵

77

        /**↵

78

         * Throws an exception.↵

78

         * Throws an exception.↵

79

         * @exception UnsupportedOperationException always because it's not supported.↵

79

         * @exception UnsupportedOperationException always because it's not supported.↵

80

         */↵

80

         */↵

81

        @Override↵

81

        @Override↵

82

        public void clear() ↵

82

        public void clear() ↵

83

        {↵

83

        {↵

84

          throw new UnsupportedOperationException();↵

84

          throw new UnsupportedOperationException();↵

85

        }↵

85

        }↵

86

        /**↵

86

        /**↵

87

         * Throws an exception.↵

87

         * Throws an exception.↵

88

         * @exception UnsupportedOperationException always because it's not supported.↵

88

         * @exception UnsupportedOperationException always because it's not supported.↵

89

         */↵

89

         */↵

90

        @Override↵

90

        @Override↵

91

        public void move(int index, E object) ↵

91

        public void move(int index, E object) ↵

92

        {↵

92

        {↵

93

          throw new UnsupportedOperationException();↵

93

          throw new UnsupportedOperationException();↵

94

        }↵

94

        }↵

95

        /**↵

95

        /**↵

96

         * Throws an exception.↵

96

         * Throws an exception.↵

97

         * @exception UnsupportedOperationException always because it's not supported.↵

97

         * @exception UnsupportedOperationException always because it's not supported.↵

98

         */↵

98

         */↵

99

        @Override↵

99

        @Override↵

100

        public E move(int targetIndex, int sourceIndex)↵

100

        public E move(int targetIndex, int sourceIndex)↵

101

        {↵

101

        {↵

102

          throw new UnsupportedOperationException();↵

102

          throw new UnsupportedOperationException();↵

103

        }

103

        }

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