[jbosstools-issues] [JBoss JIRA] (JBIDE-10187) Add support for a @SuppressWarnings

Daniel Azarov (Commented) (JIRA) jira-events at lists.jboss.org
Tue Dec 13 20:24:09 EST 2011


    [ https://issues.jboss.org/browse/JBIDE-10187?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12650708#comment-12650708 ] 

Daniel Azarov commented on JBIDE-10187:
---------------------------------------

for all problem markers that have "sup_warn_ena" attribute as "true" "Add @SuppressWarnings" quick fix will be shown:

!Add_ at SuppressWarnings.png!

This quick fix adds @SuppressWarnings annotation with specified warning name for related Java Element

Also offers to disable 'Unsupported @SuppressWarnings' validation on the Workspace or on the project:

!Add_ at SuppressWarnings3.png!

if projects does not have specific settings

or offers to disable 'Unsupported @SuppressWarnings' validation on the project:

!Add_ at SuppressWarnings2.png!

if project has cpecific settings
                
> 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: Daniel Azarov
>             Fix For: 3.3.0.Beta1
>
>         Attachments: Add_ at SuppressWarnings.png, Add_ at SuppressWarnings2.png, Add_ at SuppressWarnings2.png, Add_ at SuppressWarnings3.png, Add_ at SuppressWarnings3.png
>
>
> Would be nice to place a 
> @SuppressWarning("ambigiousinjection") or similar on an injection point that tooling can't figure out.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list