Mark Claassen created NETBEANS-2541: ---------------------------------------
Summary: Variables used in annotations display as unused. Key: NETBEANS-2541 URL: https://issues.apache.org/jira/browse/NETBEANS-2541 Project: NetBeans Issue Type: Bug Components: editor - Hints & Annotations Affects Versions: 11.0 Environment: Product Version: Apache NetBeans IDE 11.0 (Build incubator-netbeans-release-404-on-20190319) Java: 12; Java HotSpot(TM) 64-Bit Server VM 12+33 Runtime: Java(TM) SE Runtime Environment 12+33 System: Windows 10 version 10.0 running on amd64; Cp1252; en_US (nb) Reporter: Mark Claassen In the following class, VALUE1 and VALUE2 are underlined by the editor as unused, but they are used in the annotations. public class Tester { private static final String VALUE1="unchecked"; private static final String VALUE2="unchecked"; public Tester() { } @SuppressWarnings(VALUE1) public void test(@SuppressWarnings(VALUE2) String s) { } } -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists