After playing around with this some yesterday and again this morning,
I was all set to send a response that this can't be done with vim's
completion mechanism, until I thought of a somewhat hacky way to make
it work. I implemented a proof of concept, hard coding what needed to
be imported, and got it working nicely. So now I need need to go back
and update the code to find the proper type to import.
What I'm doing is that when you attempt any code completion, I'll have
the eclim command check if the variable's type, or in your case the
type you're attempting to complete static members from, is imported or
not. If not, I'll have the command send back the type that needs to be
imported to the vim completefunc which will then handle the import
just like :JavaImport, and then resend the completion request.
It's going to take me some time to get this all working properly, but
I'll let you know when I have something worth testing.
--
eric