[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-7669) Quick fix for "Non-static method <method>() of a session bean class <class> is annotated @Produces, and the method is not a business method of the session bean [JSR-299 §3.3.2]" error marker

Max Andersen (JIRA) jira-events at lists.jboss.org
Thu Nov 25 10:01:59 EST 2010


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

Max Andersen commented on JBIDE-7669:
-------------------------------------

If no @Local interfaces provide quickfix to make the method public.
If one or more @Local interfaces then provide a quick fix for each of them so users can choose which method it is to be done on.

> Quick fix for "Non-static method <method>() of a session bean class <class> is annotated @Produces, and the method is not a business method of the session bean [JSR-299 §3.3.2]" error marker
> ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: JBIDE-7669
>                 URL: https://jira.jboss.org/browse/JBIDE-7669
>             Project: Tools (JBoss Tools)
>          Issue Type: Sub-task
>          Components: cdi (jsr-299)
>            Reporter: Daniel Azarov
>            Assignee: Daniel Azarov
>              Labels: new_and_noteworthy
>             Fix For: 3.3.x
>
>
> This quick fix should offer to delete @Produces annotation

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       



More information about the jbosstools-issues mailing list