11388-1-2

Object[] basicToArray() { return super.toArray(); } public <T> T[] basicToArray(T[] array) { return super.toArray(array); } public boolean basicContains(Object object) { return super.contains(object); } public boolean basicContainsAll(Collection<?> collection) { return super.containsAll(collection); } public int basicIndexOf(Object object) { return super.indexOf(object); } public int basicLastIndexOf(Object object) { return super.lastIndexOf(object); } public EObject getEObject() { return owner; } public EStructuralFeature getEStructuralFeature() { return eStructuralFeature; } public Object get(boolean resolve) { return this; } public void set(Object newValue) { throw new UnsupportedOperationException(); } public boolean isSet() { return !isEmpty(); } public void unset() { throw new UnsupportedOperationException(); } public NotificationChain basicRemove(Object object, NotificationChain notifications) { throw new UnsupportedOperationException(); } public NotificationChain basicAdd(E object, NotificationChain notifications) { throw new UnsupportedOperationException(); }
Object[] basicToArray() { return super.toArray(); } public <T> T [] basicToArray(T [] array) { return super.toArray(array); } public EObject getEObject() { return owner; } public EStructuralFeature getEStructuralFeature() { return eStructuralFeature; } public Object get(boolean resolve) { return this; } public void set(Object newValue) { throw new UnsupportedOperationException(); } public boolean isSet() { return !isEmpty(); } public void unset() { throw new UnsupportedOperationException(); } public NotificationChain basicRemove(Object object, NotificationChain notifications) { throw new UnsupportedOperationException(); } public NotificationChain basicAdd(E object, NotificationChain notifications) { throw new UnsupportedOperationException(); }

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

1

    Object[] basicToArray()↵

1

    Object[] basicToArray()↵

2

        {↵

2

        {↵

3

          return super.toArray();↵

3

          return super.toArray();↵

4

        }↵

4

        }↵

5

        public <T> T[] basicToArray(T[] array)↵

5

        public <T> T [] basicToArray(T [] array)↵

6

        {↵

6

        {↵

7

          return super.toArray(array);↵

7

          return super.toArray(array);↵

8

        }↵

8

        }↵

9

        public boolean basicContains(Object object)↵

10

        {↵

11

          return super.contains(object);↵

12

        }↵

13

        public boolean basicContainsAll(Collection<?> collection)↵

14

        {↵

15

          return super.containsAll(collection);↵

16

        }↵

17

        public int basicIndexOf(Object object)↵

18

        {↵

19

          return super.indexOf(object);↵

20

        }↵

21

        public int basicLastIndexOf(Object object)↵

22

        {↵

23

          return super.lastIndexOf(object);↵

24

        }↵

25

        public EObject getEObject()↵

9

        public EObject getEObject()↵

26

        {↵

10

        {↵

27

          return owner;↵

11

          return owner;↵

28

        }↵

12

        }↵

29

        public EStructuralFeature getEStructuralFeature()↵

13

        public EStructuralFeature getEStructuralFeature()↵

30

        {↵

14

        {↵

31

          return eStructuralFeature;↵

15

          return eStructuralFeature;↵

32

        }↵

16

        }↵

33

        public Object get(boolean resolve)↵

17

        public Object get(boolean resolve)↵

34

        {↵

18

        {↵

35

          return this;↵

19

          return this;↵

36

        }↵

20

        }↵

37

        public void set(Object newValue)↵

21

        public void set(Object newValue)↵

38

        {↵

22

        {↵

39

          throw new UnsupportedOperationException();↵

23

          throw new UnsupportedOperationException();↵

40

        }↵

24

        }↵

41

        public boolean isSet()↵

25

        public boolean isSet()↵

42

        {↵

26

        {↵

43

          return !isEmpty();↵

27

          return !isEmpty();↵

44

        }↵

28

        }↵

45

        public void unset()↵

29

        public void unset()↵

46

        {↵

30

        {↵

47

          throw new UnsupportedOperationException();↵

31

          throw new UnsupportedOperationException();↵

48

        }↵

32

        }↵

49

        public NotificationChain basicRemove(Object object, NotificationChain notifications)↵

33

        public NotificationChain basicRemove(Object object, NotificationChain notifications)↵

50

        {↵

34

        {↵

51

          throw new UnsupportedOperationException();↵

35

          throw new UnsupportedOperationException();↵

52

        }↵

36

        }↵

53

        public NotificationChain basicAdd(E object, NotificationChain notifications)↵

37

        public NotificationChain basicAdd(E object, NotificationChain notifications)↵

54

        {↵

38

        {↵

55

          throw new UnsupportedOperationException();↵

39

          throw new UnsupportedOperationException();↵

56

        }

40

        }

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