Commit db1dc00
Fix some bugs in completion type filtering
- Do prefix filtering first; string comparison should be fast compared
to more involved operations
- Fix bad implementation of `protected` member classes;
`getParent()` wasn't the right method to get the parent class of a
member class
- Impossible classes filtering was wrong, it was checking methods
instead
Signed-off-by: David Thompson <[email protected]>1 parent 5153833 commit db1dc00
File tree
1 file changed
+6
-6
lines changed- org.eclipse.jdt.core.javac/src/org/eclipse/jdt/internal/codeassist
1 file changed
+6
-6
lines changedLines changed: 6 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1456 | 1456 | | |
1457 | 1457 | | |
1458 | 1458 | | |
| 1459 | + | |
| 1460 | + | |
1459 | 1461 | | |
1460 | 1462 | | |
1461 | 1463 | | |
| |||
1467 | 1469 | | |
1468 | 1470 | | |
1469 | 1471 | | |
1470 | | - | |
1471 | | - | |
1472 | 1472 | | |
1473 | 1473 | | |
1474 | 1474 | | |
| |||
1541 | 1541 | | |
1542 | 1542 | | |
1543 | 1543 | | |
1544 | | - | |
1545 | | - | |
| 1544 | + | |
| 1545 | + | |
1546 | 1546 | | |
1547 | 1547 | | |
1548 | | - | |
| 1548 | + | |
1549 | 1549 | | |
1550 | 1550 | | |
1551 | 1551 | | |
| |||
2311 | 2311 | | |
2312 | 2312 | | |
2313 | 2313 | | |
2314 | | - | |
| 2314 | + | |
2315 | 2315 | | |
2316 | 2316 | | |
2317 | 2317 | | |
| |||
0 commit comments