The {{@AnalyzerDefs}} annotation is having
{code}@Target({ ElementType.TYPE, ElementType.FIELD, ElementType.METHOD }){code}
But we all suspect having support for anything other than {{TYPE}} is a mistake.
Surprisingly it works fine if you declare an AnalyzerDef on a field, so it could be considered a regression for some users.
|