[jbosstools-issues] [JBoss JIRA] (JBIDE-12232) Make Quick Fix "Configure Problem Severity" work on Temporary annotations

Isaac Rooskov (JIRA) jira-events at lists.jboss.org
Sun Dec 2 22:07:21 EST 2012


     [ https://issues.jboss.org/browse/JBIDE-12232?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Isaac Rooskov updated JBIDE-12232:
----------------------------------

    Release Notes Docs Status: Documented as Feature Request
                       Writer: irooskov
           Release Notes Text: The Quick Fix, Configure Problem Severity, can now be utilized with temporary annotations. 

    
> Make Quick Fix "Configure Problem Severity" work on Temporary annotations
> -------------------------------------------------------------------------
>
>                 Key: JBIDE-12232
>                 URL: https://issues.jboss.org/browse/JBIDE-12232
>             Project: Tools (JBoss Tools)
>          Issue Type: Feature Request
>          Components: common/jst/core
>            Reporter: Daniel Azarov
>            Assignee: Daniel Azarov
>              Labels: new_and_noteworthy
>             Fix For: 4.0.0.Alpha1
>
>
> Test case:
> EXECUTE:
> 1. Create CDI project
> 2. Create class TestProducer:
> {code}
> import javax.ejb.Stateless;
> import javax.enterprise.inject.Produces;
> @Stateless
> public class TestProducer {
> 	public FunnelWeaver<String> anotherFunnelWeaver;
> 	
> 	String s="nnnnnn";
> }
> {code}
> 3. Open class TestProducer in Java Editor
> 4. add annotation @Produces to field anotherFunnelWeaver.
> 5. Do not save the editor
> ASSERT: annotation @Produces should be marked with problem annotation "Non-static field of a session bean class is annotated @Produces [JSR-299 §3.4.2]"
> EXECUTE:
> 6. Point mouse to annotation @Produces
> ASSERT:
> Quick fix "Configure Problem Severity 'illegal producer in session bean'" should be in the quick fix list of the hoover

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the jbosstools-issues mailing list