Author: scabanovich
Date: 2011-08-12 17:05:40 -0400 (Fri, 12 Aug 2011)
New Revision: 33865
Modified:
trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/core/ICDIElement.java
trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/core/IInjectionPoint.java
Log:
JBIDE-7892
https://issues.jboss.org/browse/JBIDE-7892
Modified:
trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/core/ICDIElement.java
===================================================================
---
trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/core/ICDIElement.java 2011-08-12
20:48:22 UTC (rev 33864)
+++
trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/core/ICDIElement.java 2011-08-12
21:05:40 UTC (rev 33865)
@@ -27,6 +27,17 @@
ICDIProject getCDIProject();
/**
+ * Returns CDI project that contains declaration of this object.
+ * The project that contains this object may be the same, or a dependent project.
+ * Theoretically, objects built by the same declaration in the declaring project and in
+ * a dependent object may differ because of different sets of extensions visible in
+ * projects.
+ *
+ * @return
+ */
+ ICDIProject getDeclaringProject();
+
+ /**
* Returns path of resource that declares this object.
* @return
*/
Modified:
trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/core/IInjectionPoint.java
===================================================================
---
trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/core/IInjectionPoint.java 2011-08-12
20:48:22 UTC (rev 33864)
+++
trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/core/IInjectionPoint.java 2011-08-12
21:05:40 UTC (rev 33865)
@@ -23,8 +23,6 @@
*/
public interface IInjectionPoint extends ICDIElement, IBeanMember {
- public ICDIProject getDeclaringProject();
-
/**
* Returns the required type of this injection point.
*