lishunli / projectlombok

Automatically exported from code.google.com/p/projectlombok
0 stars 0 forks source link

Eclipse search References in Workspace does not find generated delegation methods #410

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
In the code below, the search results for References in Workspace 
(Ctrl+Shift+G) or Open Call Hierarchy (Ctrl+Alt+H) on A#m don't display the 
generated delegate method.

class Container {
    @Delegate A a;
}

class A {
    public void m();
}

Original issue reported on code.google.com by r.spilker on 3 Sep 2012 at 6:46

GoogleCodeExporter commented 9 years ago
The renaming of a delegated method does not woks any more, calling methods 
using the delegated method are not impacted.

Original comment by guillaum...@gmail.com on 21 Dec 2012 at 10:23

GoogleCodeExporter commented 9 years ago
Same problem for generated getters (@Data, @Getter, etc), they do not show up 
when searching for field references or getting the call hierarchy for the field.

Original comment by jorn86 on 8 Mar 2013 at 10:02

GoogleCodeExporter commented 9 years ago
And, if you search for other references in code that uses Container.m(), you 
get a list of references to Container (the type), instead of references to the 
method

Original comment by askon...@gmail.com on 10 Feb 2014 at 2:23