[jbosstools-commits] JBoss Tools SVN: r31361 - in trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi: internal/core/impl and 1 other directory.
jbosstools-commits at lists.jboss.org
jbosstools-commits at lists.jboss.org
Wed May 18 19:57:43 EDT 2011
Author: scabanovich
Date: 2011-05-18 19:57:43 -0400 (Wed, 18 May 2011)
New Revision: 31361
Modified:
trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/core/IAnnotationDeclaration.java
trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/impl/AnnotationDeclaration.java
Log:
JBIDE-8674
https://issues.jboss.org/browse/JBIDE-8674
Modified: trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/core/IAnnotationDeclaration.java
===================================================================
--- trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/core/IAnnotationDeclaration.java 2011-05-18 22:39:31 UTC (rev 31360)
+++ trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/core/IAnnotationDeclaration.java 2011-05-18 23:57:43 UTC (rev 31361)
@@ -47,6 +47,13 @@
IMember getParentMember();
/**
+ * Returns the corresponding type name of the annotation.
+ *
+ * @return the corresponding type name of the annotation
+ */
+ String getTypeName();
+
+ /**
* Returns the corresponding IType of the annotation. May be null.
*
* @return the corresponding IType of the annotation
Modified: trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/impl/AnnotationDeclaration.java
===================================================================
--- trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/impl/AnnotationDeclaration.java 2011-05-18 22:39:31 UTC (rev 31360)
+++ trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/impl/AnnotationDeclaration.java 2011-05-18 23:57:43 UTC (rev 31361)
@@ -48,6 +48,10 @@
this.annotation = annotation;
}
+ public IJavaAnnotation getDeclaration() {
+ return annotation;
+ }
+
public IResource getResource() {
return annotation.getResource();
}
More information about the jbosstools-commits
mailing list