You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Java hint Raw Types does not provide action to suppress the warning #9444
The Java hint for Raw Types (Options > Editor > Hints > Java > Standard Javac Warnings > Raw Types) does not provide an action to add @SuppressWarnings("rawtypes") like NetBeans does for other standard javac warnings.
Language / Project Type / NetBeans Component
Java, Hints
How to reproduce
Example (appears similarly in java.util.Collections):
NetBeans shows the warning hint "found raw type: List" on the declaration of raw, but does not propovide an action to add @SuppressWarnings("rawtypes").
Activity
mbien commentedon Jun 17, 2026
hmm. adding
to
netbeans/java/java.hints/src/org/netbeans/modules/java/hints/errors/SuppressWarningsFixer.java
Line 67 in f88a2a3
would work. I am not certain if this is the correct way of fixing this though. cc @lahodaj