Community
Participate
Working Groups
In this code: privileged aspect City_Roo_Op4j { public static class City.Keys { public static final Function<Object, City> CITY = null; } } public class City { public static void main(String[] args) { City.Keys.CITY.get(); } } Invoking content assist after the City. will not bring up Keys as a proposal, even though it should. We need a way of discovering that a certain type has an ITIT associated with it and only then can it appear in content assist. When invoking content assist when not inside the target type, the ITIT is added to the target type through the ITDAwareSourceElementInfo. So, in this situation, it is not a problem.
The way to fix this is to appropriately use the AspectsConvertingParser class to synthetically push in ITITs to the target type for the purposes of content assist and code select.
Now working for both target types and other types.
Committed with regression tests.
fixed.