Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[aspectj-users] bsh assignment not trigger set pointcut

I was fiddling around recently and found that making an assignment in
the Beanshell did not match a set pointcut.

	pointcut writeField() : set(* trans.ModelObject+.*) 
		&& !set(* trans.ModelObject+.deps);

However, if I did the same assignment inside a trans.ModelObject+
method, the join point was hit.  That doesn't seem right.  Comments?
Maybe Beanshell is reaching around the mechanism that AspectJ is
trapping?

-- 
John M. Adams



Back to the top