|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.aspectj.weaver.tools.PointcutParser
A PointcutParser can be used to build PointcutExpressions for a user-defined subset of AspectJ's pointcut language
| Constructor Summary | |
PointcutParser()
Create a pointcut parser that can parse the full AspectJ pointcut language with the following exceptions: The if, cflow, and cflowbelow pointcut designators are not supported
Pointcut expressions must be self-contained :- they cannot contain references
to other named pointcuts
The pointcut expression must be anonymous with no formals allowed. |
|
PointcutParser(Set supportedPointcutKinds)
Create a pointcut parser that can parse pointcut expressions built from a user-defined subset of AspectJ's supported pointcut primitives. |
|
| Method Summary | |
static Set |
getAllSupportedPointcutPrimitives()
|
PointcutExpression |
parsePointcutExpression(String expression)
Parse the given pointcut expression. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public PointcutParser()
if, cflow, and cflowbelow pointcut designators are not supported
public PointcutParser(Set supportedPointcutKinds)
if, cflow, and cflowbelow pointcut designators are not supported
supportedPointcutKinds - a set of PointcutPrimitives this parser
should support
UnsupportedOperationException - if the set contains if, cflow, or
cflow below| Method Detail |
public static Set getAllSupportedPointcutPrimitives()
public PointcutExpression parsePointcutExpression(String expression)
throws UnsupportedOperationException,
IllegalArgumentException
UnsupportedOperationException - if the parser encounters a
primitive pointcut expression of a kind not supported by this PointcutParser.
IllegalArgumentException - if the expression is not a well-formed
pointcut expression
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||