the toString() method calls everytime getNameAndParameters() method what is probably the cause of the slowness. I have changed it to cache the resulting string from this method with great success.Here is the source code:

/* * This string compares the following parts of methods in this order, to * optimize sort order in completion lists. * * 1. First, by name 2. Next, by number of parameters. 3. Finally, by * parameter type. */

/* * This string compares the following parts of methods in this order, to * optimize sort order in completion lists. * * 1. First, by name 2. Next, by number of parameters. 3. Finally, by * parameter type. */