I just spent quite some time trying to figure out why some method on an injected service was not working. The error was clearly stating that the method signature did not exist, but since I was not aware that I had misspelled the method name, I was focused on finding out if the parameter data types were correct.
I believe if STS was able to provide autocomplete for such variables, that would have helped. Will this ever be possible or is it impossible to provide such functionality with such a dynamic language?
I had defined the service to be injected using
I changed that to
And now STS can provide autocomplete. But I'm not sure if that is the right approach since the implementation class name of such a service could change from version to version.
But even with that approach, if I mis-spell the method name, STS will not give me a complication error.
I think the fact that there are no javadocs for plugin classes also adds to this problem.