Community
Participate
Working Groups
When invoked on a static reference the "Add Import" command replaces the qualified reference with an unqualified reference. All previously qualified references in the open file should be replaced with unqualified references. Currently only the single reference directly operated on by "Add Import" is replaced. -- Before -- Foo.doBar(); // later Foo.doBar(); -- After (buggy) -- import static Foo.doBar; // later doBar(); // later Foo.doBar(); -- After (correct) -- import static Foo.doBar; // later doBar(); // later doBar();
Sorry. I'm a bad browser operator. *** This bug has been marked as a duplicate of 159810 ***