[jbosstools-issues] [JBoss JIRA] Updated: (JBIDE-7672) Quick fix for "Non-static method <method>() of a session bean class <class> has a parameter annotated @Disposes/@Observes..." error markers
Daniel Azarov (JIRA)
jira-events at lists.jboss.org
Fri Nov 19 06:37:07 EST 2010
[ https://jira.jboss.org/browse/JBIDE-7672?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Daniel Azarov updated JBIDE-7672:
---------------------------------
Summary: Quick fix for "Non-static method <method>() of a session bean class <class> has a parameter annotated @Disposes/@Observes..." error markers (was: Quick fix for "Non-static method <method>() of a session bean class <class> has a parameter annotated @Disposes, and the method is not a business method of the session bean [JSR-299 §3.3.6]" error marker)
Description:
This quick fix for next error markers:
1. Non-static method <method>() of a session bean class <class> has a parameter annotated @Disposes, and the method is not a business method of the session bean [JSR-299 §3.3.6]
2. Non-static method <method>() of a session bean class <class> has a parameter annotated @Observes, and the method is not a business method of the EJB [JSR-299 §10.4.2]
This quick fix should offer to delete @Disposes/@Observes annotation
was:This quick fix should offer to delete @Disposes annotation
> Quick fix for "Non-static method <method>() of a session bean class <class> has a parameter annotated @Disposes/@Observes..." error markers
> -------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: JBIDE-7672
> URL: https://jira.jboss.org/browse/JBIDE-7672
> 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 for next error markers:
> 1. Non-static method <method>() of a session bean class <class> has a parameter annotated @Disposes, and the method is not a business method of the session bean [JSR-299 §3.3.6]
> 2. Non-static method <method>() of a session bean class <class> has a parameter annotated @Observes, and the method is not a business method of the EJB [JSR-299 §10.4.2]
> This quick fix should offer to delete @Disposes/@Observes 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