]
Alexey Kazakov resolved JBIDE-10187.
------------------------------------
Resolution: Done
Add support for a @SuppressWarnings
-----------------------------------
Key: JBIDE-10187
URL:
https://issues.jboss.org/browse/JBIDE-10187
Project: Tools (JBoss Tools)
Issue Type: Feature Request
Components: common/jst/core
Affects Versions: 3.3.0.M4
Reporter: Cody Lerum
Assignee: Alexey Kazakov
Labels: new_and_noteworthy
Fix For: 3.3.0.Beta1
Attachments: Add_(a)SuppressWarnings.png, Add_(a)SuppressWarnings2.png,
Add_(a)SuppressWarnings2.png, Add_(a)SuppressWarnings3.png, Add_(a)SuppressWarnings3.png,
ButtonNameBorrowedFromProject.png, ManySuggestionsToAddSuppressWarnings.png, QF.png
Would be nice to place a
@SuppressWarning("ambigiousinjection") or similar on an injection point that
tooling can't figure out.
UPDATE:
There is a few examples of @SuppressWarning:
1. @SuppressWarning("all") - suppresses all the validation warnings for the
java element and its children.
2. @SuppressWarning("cdi") - suppresses all the CDI validation warnings.
3. @SuppressWarning("seam") - suppresses all the Seam 2 validation warnings.
4. @SuppressWarning("cdi-ambiguous-dependency") - suppresses warnings for
ambiguous and unsatisfied dependencies in @Inject.
Each validation warning should have a quick fix which adds the corresponding
@SuppressWarning:
!QF.png!
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: