private static ASTAnnotation getRootExpr(final String annotationExpr) throws Exception
{
try
{
ASTAnnotation node = (ASTAnnotation)AccessController.doPrivileged(new PrivilegedExceptionAction() {
public Object run() throws Exception{
AnnotationParser parser = new AnnotationParser(new StringReader(annotationExpr));
org.jboss.aop.annotation.factory.duplicate.ast.ASTStart start = parser.Start();
ASTAnnotation node = (ASTAnnotation) start.jjtGetChild(0);
return node;
}
});