### Prerequisites * [ ] Put an X between the brackets on this line if you have done all of the following: * Reproduced the problem in Safe Mode: <https://flight-manual.atom.io/hacking-atom/sections/debugging/#using-safe-mode> * Followed all applicable steps in the debugging guide: <https://flight-manual.atom.io/hacking-atom/sections/debugging/> * Checked the FAQs on the message board for common solutions: <https://discuss.atom.io/c/faq> * Checked that your issue isn't already filed: <https://github.com/issues?utf8=✓&q=is%3Aissue+user%3Aatom> * Checked that there is not already an Atom package that provides the described functionality: <https://atom.io/packages> ### Description Java tree-sitter highlighting does not recognise the following annotations: ```java class A { @Retries.RetryTranslated private void func(int arg) throws IOException { // ... } } ``` We need to fix it, here is what it looks like in Atom 1.53.0: <img width="607" alt="Screenshot 2020-11-23 at 11 23 08" src="https://user-images.githubusercontent.com/7788766/99952003-4401d780-2d7f-11eb-8fab-5f63ec1566f7.png"> ### Steps to Reproduce 1. Paste the code into Atom 1.53.0 2. Select Java language. **Expected behavior:** Syntax highlighting is similar to other annotation types. **Actual behavior:** Syntax highlighting is different. **Reproduces how often:** 100% ### Versions ``` apm 2.5.2 npm 6.14.8 node 12.4.0 x64 atom 1.53.0 python 2.7.10 git 2.17.2 ``` ### Additional Information <!-- Any additional information, configuration or data that might be necessary to reproduce the issue. -->
Prerequisites
Description
Java tree-sitter highlighting does not recognise the following annotations:
We need to fix it, here is what it looks like in Atom 1.53.0:

Steps to Reproduce
Expected behavior:
Syntax highlighting is similar to other annotation types.
Actual behavior:
Syntax highlighting is different.
Reproduces how often:
100%
Versions
Additional Information