File path: /emf-2.4.1/src/org/eclipse/emf/ecore/util/EcoreValidator.java | File path: /emf-2.4.1/src/org/eclipse/emf/ecore/util/EcoreValidator.java | |||
Method name: EGenericType handleInstanceTypeName(char[], int, int, DiagnosticChain)
|
Method name: ETypeParameter handleTypeParameter(char[], int, int, DiagnosticChain)
|
|||
Number of AST nodes: 1 | Number of AST nodes: 1 | |||
1 | report↵ | 1 | report↵ | |
2 | (diagnostics, ↵ | 2 | (diagnostics, ↵ | |
3 | "_UI_EClassifierInstanceTypeNameUnexpectedCharacter_diagnostic", ↵ | 3 | "_UI_EClassifierInstanceTypeNameUnexpectedCharacter_diagnostic", ↵ | |
4 | new Object [] { i, new String(Character.toChars(codePoint)) }, ↵ | 4 | new Object [] { i, new String(Character.toChars(codePoint)) }, ↵ | |
5 | i); | 5 |
| |
See real code fragment | See real code fragment |
Number of common nesting structure subtrees | 1 |
Number of refactorable cases | 1 |
Number of non-refactorable cases | 0 |
Time elapsed for finding largest common nesting structure subtrees (ms) | 0.0 |
Clones location | Clones are declared in the same class |
Number of node comparisons | 2 |
Number of mapped statements | 1 |
Number of unmapped statements in the first code fragment | 0 |
Number of unmapped statements in the second code fragment | 0 |
Time elapsed for statement mapping (ms) | 0.0 |
Clone type | Type 1 |
ID | Statement | ID | Statement | |
---|---|---|---|---|
62 | report(diagnostics, "_UI_EClassifierInstanceTypeNameUnexpectedCharacter_diagnostic", new Object[] {i, new String(Character.toChars(codePoint))}, i); | 29 | report(diagnostics, "_UI_EClassifierInstanceTypeNameUnexpectedCharacter_diagnostic", new Object[] {i, new String(Character.toChars(codePoint))}, i); |
Row | Violation |
---|