[
https://issues.jboss.org/browse/JBIDE-9672?page=com.atlassian.jira.plugin...
]
Jaroslav Jankovič closed JBIDE-9672.
------------------------------------
Verified in JBDS 5.0.0.v201110242253R-H40-M4. Closing Jira.
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.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira