Author: akazakov
Date: 2012-08-29 19:37:34 -0400 (Wed, 29 Aug 2012)
New Revision: 43308
Modified:
trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/validation/CDICoreValidator.java
Log:
https://issues.jboss.org/browse/JBIDE-12503 CDI Bean types are not updated
Modified:
trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/validation/CDICoreValidator.java
===================================================================
---
trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/validation/CDICoreValidator.java 2012-08-29
23:19:32 UTC (rev 43307)
+++
trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/validation/CDICoreValidator.java 2012-08-29
23:37:34 UTC (rev 43308)
@@ -552,6 +552,11 @@
}
}
}
+ Set<IPath> resources = new HashSet<IPath>();
+ collectAllRelatedInjections(file, resources);
+ for (IPath p: resources) {
+ getValidationContext().addLinkedCoreResource(SHORT_ID, p.toOSString(),
file.getFullPath(), false);
+ }
CDIValidationContext context = null;
ICDIProject cdiProject = null;