Uses Spring AOP's {@link AspectJExpressionPointcut} infrastructure to determine matches.
With Spring 2.5 this class supports the bean pointcut primitive as well. @author Christian Dupuis @since 2.0
219220221222223224225226227228229
getClassLoaderSupport(project).executeCallback( new IProjectClassLoaderSupport.IProjectClassLoaderAwareCallback() { public void doWithActiveProjectClassLoader() throws Throwable { for (IAopReference reference : getMatches(beans, definition, new AspectDefinitionMatcher())) { Match match = new Match(reference, Match.UNIT_LINE, -1, -1); result.addMatch(match); } } });