[jbosstools-commits] JBoss Tools SVN: r43657 - trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/impl/definition.

jbosstools-commits at lists.jboss.org jbosstools-commits at lists.jboss.org
Thu Sep 13 11:58:29 EDT 2012


Author: scabanovich
Date: 2012-09-13 11:58:29 -0400 (Thu, 13 Sep 2012)
New Revision: 43657

Modified:
   trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/impl/definition/ParameterDefinition.java
Log:
JBIDE-12587
https://issues.jboss.org/browse/JBIDE-12587


Modified: trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/impl/definition/ParameterDefinition.java
===================================================================
--- trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/impl/definition/ParameterDefinition.java	2012-09-13 15:45:41 UTC (rev 43656)
+++ trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/impl/definition/ParameterDefinition.java	2012-09-13 15:58:29 UTC (rev 43657)
@@ -75,11 +75,4 @@
 		return variable;
 	}
 
-	public String getAnnotationText(String annotationTypeName) {
-		ITextSourceReference pos = getAnnotationPosition(annotationTypeName);
-		if(pos == null) return null;
-		String text = methodDefinition.getTypeDefinition().getContent().substring(pos.getStartPosition(), pos.getStartPosition() + pos.getLength());
-		return text;
-	}
-
 }
\ No newline at end of file



More information about the jbosstools-commits mailing list