1993-2-3

Object get(boolean resolve) { return this; } @SuppressWarnings("unchecked") public void set(Object newValue) { clear(); addAll((List<? extends E>)newValue); } @Override public boolean isSet() { return !isEmpty(); } public void unset() { clear(); }
Object get(boolean resolve) { return this; } @SuppressWarnings("unchecked") public void set(Object newValue) { clear(); addAll((List<? extends E>)newValue); } @Override public boolean isSet() { return !isEmpty(); } public void unset() { clear(); }

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

1

    Object get(boolean resolve)↵

1

    Object get(boolean resolve)↵

2

      {↵

2

      {↵

3

        return this;↵

3

        return this;↵

4

      }↵

4

      }↵

5

      @SuppressWarnings("unchecked")↵

5

      @SuppressWarnings("unchecked")↵

6

      public void set(Object newValue)↵

6

      public void set(Object newValue)↵

7

      {↵

7

      {↵

8

        clear();↵

8

        clear();↵

9

        addAll((List<? extends E>)newValue);↵

9

        addAll((List<? extends E>)newValue);↵

10

      }↵

10

      }↵

11

      @Override↵

11

      @Override↵

12

      public boolean isSet()↵

12

      public boolean isSet()↵

13

      {↵

13

      {↵

14

        return !isEmpty();↵

14

        return !isEmpty();↵

15

      }↵

15

      }↵

16

      public void unset()↵

16

      public void unset()↵

17

      {↵

17

      {↵

18

        clear();↵

18

        clear();↵

19

      }

19

      }

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