I'm trying to create a reference to a named element using a different name, in this case, basically a property-style name ("foo") referencing a getter-style method ("getFoo()"). The reference works properly for navigation but not for find usages and therefore usage highlighting. I've tracked this down to CachesBasedRefSearcher.processQuery() where it uses the name of the named element as its search criteria. Of course, in this case it doesn't find "getFoo" because the reference uses "foo".
Given that this is a common behavior for things like JavaBean properties, I'm assuming there's some convenient way to do this. Any thoughts?