[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-7635) Quick fix for "No bean is (Multiple beans are) eligible for injection to the injection point" error markers

Daniel Azarov (JIRA) jira-events at lists.jboss.org
Thu Dec 30 16:09:18 EST 2010


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

Daniel Azarov commented on JBIDE-7635:
--------------------------------------

Implemented for injected fields only.

If number of beans less then 8, we create set of quick fixes for all beans. See image_1, image_3
If user chooses one of quick fixes "Add qualifiers to the bean" dialog appears. See image_5

If number of beans more then 7, we create one quick fix "Select bean to configure the injection point". See image_2, image_4 
If user chooses this quick fix "Select bean to configure the injection point" dialog appears then  "Add qualifiers to the bean". See image_6, image_7

> Quick fix for "No bean is (Multiple beans are) eligible for injection to the injection point" error markers
> -----------------------------------------------------------------------------------------------------------
>
>                 Key: JBIDE-7635
>                 URL: https://issues.jboss.org/browse/JBIDE-7635
>             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.2.0.CR1
>
>         Attachments: AddQualifiersToBean.png, image_1.png, image_2.png, image_3.png, image_4.png, image_5.png, image_6.png, image_7.png, MakeInjectedPointUnambiguous.png
>
>
> This quick fix should offer to delete @Inject 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