[
https://issues.jboss.org/browse/JBIDE-12404?page=com.atlassian.jira.plugi...
]
Alexey Kazakov reassigned JBIDE-12404:
--------------------------------------
Assignee: Viacheslav Kabanovich (was: Alexey Kazakov)
Slava, could you take a look, please? It seems to be a problem of CDI model.
CDI hyper links should work on modified files correctly
-------------------------------------------------------
Key: JBIDE-12404
URL:
https://issues.jboss.org/browse/JBIDE-12404
Project: Tools (JBoss Tools)
Issue Type: Enhancement
Components: CDI
Reporter: Alexey Kazakov
Assignee: Viacheslav Kabanovich
Fix For: 4.0.0.M1
1. Create a cdi project.
2. Create an empty test.Test class.
3. Modify the file (don't save it!):
{code}
package test;
import javax.enterprise.inject.Produces;
import javax.inject.Inject;
import javax.inject.Named;
public class Test {
@Inject @Named Test2 create;
@Produces
@Named
public Test2 create() {
return new Test2();
}
@Produces
@Named("create")
public Test2 create2() {
return new Test2();
}
public static class Test2 {
}
}
{code}
4. Try Ctrl+click on the injection. It should suggest to navigate to the producers.
Right now it's not working until you saved the file.
--
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