Details
-
Bug
-
Resolution: Done
-
Major
-
4.0.0.Alpha3, 3.8.0.Final
-
None
Description
I found these problems with the java source sequencer:
- Collection types are missing. So Collection<Integer> is saved as Collection
- Variables declared in the same statement are missing. For example, only variable j is persisted in this statement: int i, j;
- The .* in wildcard imports is not saved. So import a.b.*; is saved as import.a.b
- The array indicator is not saved in the type. So Object[] is saved as Object
- AbstractMetadata.SYNCRHONIZED is misspelled.
- Nested inner types (classes, interfaces, enums) are not saved.
- enum parameters are missing. So A("a"), B("b") is saved as A, B
- AbstractJavaMetadata.createTypeMetadata does not process modifiers for interfaces. So a public interface will end up being package scoped.
- AbstractJavaMetadata.createTypeMetadata does not process methods for interfaces.
- comments are lost
- method body is missing
Some of the above may require CND changes (like adding comments, method body, and nested types).