summaryrefslogtreecommitdiffstats
path: root/tests/java5/ataspectj/annotationGen/APointcut.java
blob: 32d504dfddf30d88f9188c7dd6ca46178268e6cb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
import org.aspectj.lang.reflect.*;

public class APointcut {
	
	@org.aspectj.lang.annotation.Pointcut("execution(* *.*(..))")
	void myPointcut() {};
	
	public static void main(String[] args) throws Exception {
		AjType myType = AjTypeSystem.getAjType(APointcut.class);
		Pointcut pc = myType.getDeclaredPointcut("myPointcut");
	}
	
}