Author: akazakov
Date: 2009-11-20 11:51:07 -0500 (Fri, 20 Nov 2009)
New Revision: 18763
Modified:
trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/core/IBean.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-4943
Modified:
trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/core/IBean.java
===================================================================
---
trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/core/IBean.java 2009-11-20
16:39:28 UTC (rev 18762)
+++
trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/core/IBean.java 2009-11-20
16:51:07 UTC (rev 18763)
@@ -108,4 +108,33 @@
* @return the set of injection points of the bean
*/
Set<IInjectionPoint> getInjectionPoints();
+
+ /**
+ * Returns the bean which is specialized by this bean. May return null.
+ *
+ * @return the bean which is specialized by this bean.
+ */
+ IBean getSpecializedBean();
+
+ /**
+ * Returns the declaration of @Specializes annotation of this bean. May
+ * return null.
+ *
+ * @return the declaration of @Specializes annotation of this bean.
+ */
+ IAnnotationDeclaration getSpecializesAnnotationDeclaration();
+
+ /**
+ * Returns "true" if this bean specializes another.
+ *
+ * @return "true" if this bean specializes another.
+ */
+ boolean isSpecializing();
+
+ /**
+ * Returns "true" if this bean has @Depended scope.
+ *
+ * @return "true" if this bean has @Depended scope.
+ */
+ boolean isDependent();
}
\ No newline at end of file