Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aspectj-users] parsePointcutExpression in a multi-package context

Perfect! That's what I needed! 

For the record I extended the PointcutParser class and overwritten (and
hacked around a bit) some methods to use a different "resolutionScope". The
following is my constructor: 


public MyPointcutParser (ClassLoader aLoader, ReflectionWorld aWorld,
String[] packages, String[] classes)
	{
		super();
		this.setClassLoader(aLoader);
		this.setWorld(aWorld);
		
		resolutionScope = new SimpleScope(w, new FormalBinding[0]);
		resolutionScope.setImportedPrefixes(packages);
		resolutionScope.setImportedNames(classes);
	}



--
View this message in context: http://aspectj.2085585.n4.nabble.com/parsePointcutExpression-in-a-multi-package-context-tp4650730p4650746.html
Sent from the AspectJ - users mailing list archive at Nabble.com.


Back to the top