Author: scabanovich
Date: 2011-10-14 18:14:05 -0400 (Fri, 14 Oct 2011)
New Revision: 35679
Modified:
trunk/cdi/plugins/org.jboss.tools.cdi.seam.text.ext/src/org/jboss/tools/cdi/seam/text/ext/hyperlink/GenericInjectedPointHyperlinkDetector.java
Log:
JBIDE-9852
https://issues.jboss.org/browse/JBIDE-9852
One more commit for generic bean.
Modified:
trunk/cdi/plugins/org.jboss.tools.cdi.seam.text.ext/src/org/jboss/tools/cdi/seam/text/ext/hyperlink/GenericInjectedPointHyperlinkDetector.java
===================================================================
---
trunk/cdi/plugins/org.jboss.tools.cdi.seam.text.ext/src/org/jboss/tools/cdi/seam/text/ext/hyperlink/GenericInjectedPointHyperlinkDetector.java 2011-10-14
20:32:42 UTC (rev 35678)
+++
trunk/cdi/plugins/org.jboss.tools.cdi.seam.text.ext/src/org/jboss/tools/cdi/seam/text/ext/hyperlink/GenericInjectedPointHyperlinkDetector.java 2011-10-14
22:14:05 UTC (rev 35679)
@@ -158,7 +158,7 @@
resultBeanSet2.add(gpb);
}
} else if(injectionPoint.getClassBean() instanceof GenericClassBean
- &&
injectionPoint.isAnnotationPresent(CDISeamSolderConstants.INJECT_GENERIC_ANNOTATION_TYPE_NAME))
{
+ &&
injectionPoint.isAnnotationPresent(((GenericClassBean)injectionPoint.getClassBean()).getVersion().getInjectGenericAnnotationTypeName()))
{
resultBeanSet2.add(b);
}
}