During the FVT for version 24.0.3-SNAPSHOT on a Windows 11 environment, an issue was encountered with the identification of 'rest_get' and 'mpirc' snippets under certain conditions in Java files. Specifically, the issue arises in the following scenario:
In the space before a class declaration (empty space).
For reference, I've attached a screenshot below showcasing the same.

This issue has been reported to lsp4mp as issue eclipse-lsp4mp/lsp4mp#402