Package org.aspectj.weaver.internal.tools

Examples of org.aspectj.weaver.internal.tools.StandardPointcutExpressionImpl$Handler


   *         supported by this PointcutParser.
   * @throws IllegalArgumentException if the expression is not a well-formed pointcut expression
   */
  public StandardPointcutExpression parsePointcutExpression(String expression, Class inScope, PointcutParameter[] formalParameters)
      throws UnsupportedPointcutPrimitiveException, IllegalArgumentException {
    StandardPointcutExpressionImpl pcExpr = null;
    try {
      Pointcut pc = resolvePointcutExpression(expression, inScope, formalParameters);
      pc = concretizePointcutExpression(pc, inScope, formalParameters);
      validateAgainstSupportedPrimitives(pc, expression); // again, because we have now followed any ref'd pcuts
      pcExpr = new StandardPointcutExpressionImpl(pc, expression, formalParameters, getWorld());
    } catch (ParserException pEx) {
      throw new IllegalArgumentException(buildUserMessageFromParserException(expression, pEx));
    } catch (ReflectionWorld.ReflectionWorldException rwEx) {
      rwEx.printStackTrace();
      throw new IllegalArgumentException(rwEx.getMessage());
View Full Code Here

TOP

Related Classes of org.aspectj.weaver.internal.tools.StandardPointcutExpressionImpl$Handler

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.