mbien commented on PR #8850:
URL: https://github.com/apache/netbeans/pull/8850#issuecomment-3319982678

   I hoped I could use the enum from within the annotation, but I forgot that 
enum fields don't count as constants from javac's POV, since they are created 
during construction.
   
   e.g this doesn't work:
   ```java
   @Hint(displayName = "#DN_ConvertToTextBlock", description = 
"#DESC_ConvertToTextBlock", category="rules15",
         minSourceVersion = Feature.TEXT_BLOCK.PREVIEW)
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to