I am using reflection to parse pointcuts and it works fine within the same package. I am also able to change the scope by specifying a particular class (inScope in the code below). However I was wondering whether there is a way of specifying a multi-package context (e.g. all the packages in the class path).
ClassLoader cl = ClassLoader.getSystemClassLoader(); PointcutParser pp = PointcutParser.getPointcutParserSupportingAllPrimitivesAndUsingSpecifiedClassloaderForResolution(cl); PointcutExpression pe = pp.parsePointcutExpression(pattern,inScope,new PointcutParameter[0]); Thanks! -- View this message in context: http://aspectj.2085585.n4.nabble.com/parsePointcutExpression-in-a-multi-package-context-tp4650730.html Sent from the AspectJ - users mailing list archive at Nabble.com. _______________________________________________ aspectj-users mailing list [email protected] https://dev.eclipse.org/mailman/listinfo/aspectj-users
