Currently, the javac support for SuppressWarnings only supports known warning names.
It might be interesting to cobsider extending the support for additional names, perhaps keeping the names in some collection (i.e. set or map.)
This would facilitate other tools that analyze source code to access these warning strings.
The downside is that we would no longer detect spelling errors.
It might be interesting to cobsider extending the support for additional names, perhaps keeping the names in some collection (i.e. set or map.)
This would facilitate other tools that analyze source code to access these warning strings.
The downside is that we would no longer detect spelling errors.
- relates to
-
JDK-8189591 No way to locally suppress doclint warnings
- Resolved