Community
Participate
Working Groups
As bug 186342 has been deferred past M5 I'm preparing a separate plugin that will provide the same functionality for interested users to try out. Using normal mechanisms (API and extension points) such separation is of course not possible, but I have prepared an implementation that uses OT/J for the integration into the JDT/Core. Only one location is very difficult to adapt in the JDT/Core and only for this location I'm asking permission to insert a minimal effectless hook. This hook will actually be useful for a final implementation regarding null annotations, too.
Created attachment 187363 [details] proposed implementation This patch inserts the requested hook as an effectless function into class Statement. This function is called from one location within each of LocalDeclaration and Assignment (during analyseCode). Also I changed one test helper in AbstractRegressionTest from package private to protected in order to make it accessible for tests in yet another plugin.
Olivier, is it OK to release this for M5? This would indeed allow me to ship the mentioned extra plugin to work with M5 once that is released.
+1. Give it a try. We can always revert if too controversial.
Released for 3.7M5.
Verified for 3.7M5 using I20110124-1800 (code inspection)