org.aspectj/tests/bugs150/pr87376/NPE.aj
acolyer 85aa152088 fix for Bugzilla Bug 87376
NPE when unresolved type of a bound var in a pointcut expression (EclipseFactory.java:224)
2005-03-10 13:34:55 +00:00

15 lines
185 B
Plaintext

package a.b.d;
//import a.b.c.I;
public aspect NPE {
pointcut ii(I i) : execution(* I.*(..)) && this(i);
after(I i) returning : ii(i) {
System.out.println(i);
}
}