Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[aspectj-users] Problems with cflow in eclipse

Hello. I am using eclipse 3.2.2 and ajdt1.5.4. I have the following problem
with cflow. 
Example:

package controlFlowPointcutsExamples;

public class Test
{
	public static void main(String[] args)
	{
		foo();
	}

	static void foo()
	{
		
	}
}


package controlFlowPointcutsExamples;
public aspect TestAspect
{
	pointcut fooPC() : execution(void controlFlowPointcutsExamples.Test.foo());

         before() :
		cflow(fooPC())
		&& !within(TestAspect)
		{
		
		}

}

When i try the above example eclipse goes crazy and the before() advice
advises join points in other classes and other packages aswell. Am i doing
something wrong?
-- 
View this message in context: http://www.nabble.com/Problems-with-cflow-in-eclipse-tf3830336.html#a10843762
Sent from the AspectJ - users mailing list archive at Nabble.com.



Back to the top