List of usage examples for org.aspectj.weaver.tools PointcutParser parsePointcutExpression
public PointcutExpression parsePointcutExpression(String expression, Class<?> inScope, PointcutParameter[] formalParameters) throws UnsupportedPointcutPrimitiveException, IllegalArgumentException
From source file:org.springframework.aop.aspectj.AspectJExpressionPointcut.java
License:Apache License
/** * Build the underlying AspectJ pointcut expression. *///from ww w . j a v a 2s . c o m private PointcutExpression buildPointcutExpression(ClassLoader classLoader) { PointcutParser parser = initializePointcutParser(classLoader); PointcutParameter[] pointcutParameters = new PointcutParameter[this.pointcutParameterNames.length]; for (int i = 0; i < pointcutParameters.length; i++) { pointcutParameters[i] = parser.createPointcutParameter(this.pointcutParameterNames[i], this.pointcutParameterTypes[i]); } return parser.parsePointcutExpression(replaceBooleanOperators(getExpression()), this.pointcutDeclarationScope, pointcutParameters); }