aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs192/ptw/a/b/d/FooPrivileged.java
blob: 006b955901df803687799d927a6cc852c0f014d7 (plain)
1
2
3
4
5
6
7
8
9
package a.b.d;

privileged aspect Foo pertypewithin(Runnable+) {
	after() : staticinitialization(*) {
		  System.out.println("getWithinTypeName() = " + getWithinTypeName());
		  Class c = thisJoinPointStaticPart.getSourceLocation().getWithinType();
		  System.out.println("Aspect instance = "+Foo.aspectOf(c).getClass().getName());
	}
}