[jbosstools-issues] [JBoss JIRA] Resolved: (JBIDE-9672) Ctrl+Shift+G on a producer doesn't look for injection points and ELs

Alexey Kazakov (JIRA) jira-events at lists.jboss.org
Wed Sep 7 18:14:26 EDT 2011


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

Alexey Kazakov resolved JBIDE-9672.
-----------------------------------

      Assignee: Viacheslav Kabanovich  (was: Alexey Kazakov)
    Resolution: Done


Fixed.

> Ctrl+Shift+G on a producer doesn't look for injection points and ELs
> --------------------------------------------------------------------
>
>                 Key: JBIDE-9672
>                 URL: https://issues.jboss.org/browse/JBIDE-9672
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: CDI
>    Affects Versions: 3.3.0.M3
>            Reporter: Alexey Kazakov
>            Assignee: Viacheslav Kabanovich
>            Priority: Critical
>             Fix For: 3.3.0.M4
>
>
> 1. Import tck project from o.j.t.cdi.core.test. Add all the sources from o.j.t.cdi.core.test/resources/tck to the project source folder.
> 2. Add the following class to the project:
> {code}
> package org.jboss.jsr299.tck.tests.lookup.typesafe.resolution;
> import javax.enterprise.inject.Produces;
> import javax.inject.Inject;
> import javax.inject.Named;
> public class Zoo {
> 	@Inject @Wild Cat cat;
> 	
> 	@Inject @Wild PetShop p;
> 	String str = "#{aaa.aslan}";
> //	@Produces @Named("aaa") @Wild PetShop petShop;
> 	@Produces @Named("aaa") @Wild PetShop getPetShop() {
> 		return null;
> 	}
> }
> {code}
> 3. Ctrl+Shift+G on getPetShop(). It should find String str = "#{aaa.aslan}"; and @Inject @Wild PetShop p;
> 4. Comment the producer method. Uncomment the producer field. Ctrl+Shift+G on the field should also find the same EL and injection point.

--
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