| Summary: | Referencing ITIT using semi-qualified name from inside target type | ||
|---|---|---|---|
| Product: | [Tools] AspectJ | Reporter: | Andrew Eisenberg <andrew.eisenberg> |
| Component: | Compiler | Assignee: | aspectj inbox <aspectj-inbox> |
| Status: | RESOLVED INVALID | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | aclement |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | Macintosh | ||
| OS: | Mac OS X | ||
| Whiteboard: | |||
err.... the member in the ITD'd type is called CITY, not City... Ugggh... |
It's not clear to me that this should work, but aspectj is giving me a compile error here: public class City { public static void main(String[] args) { Keys.City.get(); // Keys.City cannot be resolved } } privileged aspect City_Roo_Op4j { public static class City.Keys { public static final Function<Object, City> CITY = null; } } I would expect this to work since this works when a regular inner type is accessed from inside the class that defines it, but maybe this shouldn't be allowed (if so, I'd recommend a more precise error message).