Community
Participate
Working Groups
Example: Let's have a class with overloaded (static) methods, say "doIt". For example void doIt(int a, String b, String b2, String b3, String b4, Color c) {...} void doIt(int a, String b, String b2, String b3, String b4, Content cn, Color c) {...} and calling code Test.doIt(1,"Hi",new Color()); Assume editing the calling code. If you press Ctrl-Space inside the bracket area, I expected: (1) that a popup is displayed (works) (2) that it displays all overloaded methods "doIt" (works) (3) that this popup highlights the current used method (does not work) (4) that the popup is of sufficient size to see the relevant difference between the methods (does not work, the popup is to narrow) It seems that if only one method is suitable, a different popup (tool tip) is displayed in a manner that is also used for the popup window mentioned above. -- Configuration Details -- Product: Eclipse 1.2.1.20090812-1036 (org.eclipse.epp.package.java.product) Installed Features: org.eclipse.jdt 3.5.1.r351_v20090810-0600-7r88FEoFI0WTo6Az-1qFRHm37ChJ
Sorry, the example was not ok. Here is a better one: public class Tester { void doIt(int a, String b, String b2, String b3, String b4, Color c) { } void doIt(int a, String b, String b2, String b3, String b4, ChangeListener cn, Color c) { } void test() { doIt(1, "1", "2", "3", "4", new Color(1, 2, 3)); } } If you put the cursor on the "new Color(1,2,3)" and press Ctrl-Space, you can see what I desribed. By the way, another bug appeared: In the popup there are four (4) methods listed not only two (2). Two are duplicates of course. I'm not sure if this always happens.