Community
Participate
Working Groups
Created attachment 157428 [details] patch proposed Hi, I suggest to use two generics types in the interface IJavaModelQuery : - one for the query evaluation context (a model object like a Classifier) - one for the return type (anything, String, Integer, model Object ...) The advantage is for the implementors : the method profil is automatically adjusted by eclipse to the good arguments. The first attachment contains a new version for the interface, the modification of the adapter, and a new Class for adding helper methods arround the list of parameters, giving a direct access to a parameter from his name. The second attachment is a zip of two example queries classes modified. Regards, Bertrand
Created attachment 157431 [details] patch proposing a new version of IJavaModelQuery using parameterized types
Created attachment 157433 [details] example of two implementation classes modified
Hi, Thank you for this patch. This patch has been applied. Tests and examples have been updated. Regards, Grégoire Dupé
Patch committed.