Files
AndroidIDE/lsp/java
Akash Yadav bdd119d631 fix: completion becomes unresponsive while completing class names inside an anonymous class
This bug is caused when the user requests completions for class names inside an anonymous class (`new View.OnClickListener() { ... } ` for example).
The completion provider succeeds in finding the completion candidates. However, for creating CompletionItem instance for classes, it needs to know if the class that is being suggested
is a nested class or not. This is checked by `IJavaCompletionProvider.findTopLevelDeclaration()` which however, fails the check the nullability of the parent elements while traversing.
This results in an infinite loop causing the `SynchronizedTask` to hold on to the `CompileTask` instance which further prevents any compilation related tasks.

As the `CompileTask` is held due to the infinite loop, the Java completion provider simply returns empty results on further completion requests.
2023-03-04 23:52:34 +05:30
..
2022-01-14 20:45:32 +05:30
2022-01-14 20:45:32 +05:30
2022-01-14 20:45:32 +05:30
2022-01-14 20:45:32 +05:30