<br><font size=2 face="sans-serif">Hallo,</font>
<br>
<br><font size=2 face="sans-serif">I have a problem with a pointcut declaration. Here is code example:</font>
<br>
<br><font size=2 face="sans-serif">int A::method_a()</font>
<br><font size=2 face="sans-serif">{</font>
<br><font size=2 face="sans-serif"> int i;</font>
<br><font size=2 face="sans-serif"> ... <---------------------</font>
<br><font size=2 face="sans-serif"> i = B::method_b();</font>
<br><font size=2 face="sans-serif"> ... <---------------------</font>
<br><font size=2 face="sans-serif"> return i;</font>
<br><font size=2 face="sans-serif">}</font>
<br>
<br><font size=2 face="sans-serif">I want to add code before and after the call off B::method_b() but only inside A::method_a().</font>
<br><font size=2 face="sans-serif">How can I express this with a pointcut?</font>
<br>
<br><font size=2 face="sans-serif">best regards</font>
<br><font size=2 face="sans-serif">Sven</font>