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

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