blob: 06280ae99514569856de540fc5dafb5b90626d92 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
package ma2.aspect3;
import org.aspectj.lang.ProceedingJoinPoint;
import org.aspectj.lang.annotation.Around;
import org.aspectj.lang.annotation.Aspect;
public aspect Aspect3 {
Object around(): execution(@ma2.Annotation1 * *(..)) {
new InnerClass2();
System.out.println(">In Aspect3");
Object returnedObject = proceed();
System.out.println("<In Aspect3");
return returnedObject;
}
private static class InnerClass2 {
}
}
|