| Summary: | Code generation problem for certain inner classes | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | Konstantin Komissarchik <konstantin> |
| Component: | Sapphire | Assignee: | Konstantin Komissarchik <konstantin> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | ling.hao |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
This is a regression due to fix for Bug 353533. Fixed by reverting the fix for Bug 353533. Verify with the sample code that the generated code compiles and does not miss any import. |
Given model elements defined as follows: @GenerateImpl public interface Level1 extends IModelElement { ModelElementType TYPE = new ModelElementType( Level1.class ); @GenerateImpl public interface Level2 extends Level1 { ModelElementType TYPE = new ModelElementType( Level2.class ); } } Sapphire annotation processor generates Level1$Level2Impl.java with compilation errors due to a missing import.