List<EStructuralFeature> getAllAttributes(EClass eClass);
/**
* Returns all the structural features of the given class, and its super classes, corresponding to elements, element
* wildards, and model groups.
*/
List<EStructuralFeature> getAllElements(EClass eClass);
List<EStructuralFeature> getAttributes(EClass eClass);
/**
* Returns the structural features of the given class corresponding to elements, element wildcards, and model groups.
*/
List<EStructuralFeature> getElements(EClass eClass);
Clone fragments detected by clone detection tool
File path: /emf-2.4.1/src/org/eclipse/emf/ecore/util/ExtendedMetaData.java
|
|
File path: /emf-2.4.1/src/org/eclipse/emf/ecore/util/ExtendedMetaData.java
|
Method name:
|
|
Method name:
|
Number of AST nodes: 0
|
|
Number of AST nodes: 0
|
|
1 | List<EStructuralFeature> getAllAttributes(EClass eClass);↵ | | 1 | List<EStructuralFeature> getAttributes(EClass eClass);↵
|
|
2 | /**↵ | | 2 | /**↵
|
3 | * Returns all the structural features of the given class, and its super classes, corresponding to elements, element↵ | | 3 | * Returns the structural features of the given class corresponding to elements, element↵
|
4 | * wildards, and model groups.↵ | | 4 | wildcards, and model groups.↵
|
5 | */↵ | | 5 | */↵
|
6 | List<EStructuralFeature> getAllElements(EClass eClass); | | 6 | List<EStructuralFeature> getElements(EClass eClass);
|
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 |