This may be a mistake if you use a method with a very common name.
If you tried the @Peter Gromov method above and your method is still yellow, this might be a mistake.
I had a very common method called "stop".
- A search for use (using ALT + F7) showed nothing.
- Analyzing the entire project, he clearly showed that this method had no use.
Despite this, the method still remained yellow.
I was surprised to learn that if I try to refactor a method name, I will get a pop-up warning that this will change in other places.
It turns out that refactoring warned about changing the method name in the TODO comments. Somehow, Lint recognized TODO comments using this method.
My advice is simply not to call your methods something that can be written in a TODO comment.
Look at this image where I use a method called stop: 
source share