I have read Thinking in Java in which I know AnnotationProcessor
use Reflection
to resolve annotation.
After I dive into the source, I know this annotation's Retention Policy is Source. So I think maybe there's a Processor which get the String like "unused" to make IDE's linting suppress the warning.
But I don't know whether I'm right and if not how's that works?
Thanks a lot, I'm kind of newbie.