[jbosstools-issues] [JBoss JIRA] Issue Comment Edited: (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:19: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 edited comment on JBIDE-7669 at 11/25/10 10:19 AM:
----------------------------------------------------------------

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


      was (Author: max.andersen at jboss.com):
    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