It  would be possible to have a getEndLine() that might return the end
of a shadow.  For method-execution that would give the last line of
the method.  But we have nothing like that right now.  You could raise
an enhancement request but it'll need a few votes before it moves up
the priority list.

cheers,
Andy

On 8 September 2010 01:02, Hagai Cibulski <[email protected]> wrote:
> Unfortunately this only gets the start-of-method instead of end-of-method:
>
>   after(): methodUnderTestExecution() {
>
> int returnLineNumber
> = thisJoinPointStaticPart.getSourceLocation().getLine();
>
>                …
>
>
>
> Hagai
>
> _______________________________________________
> aspectj-users mailing list
> [email protected]
> https://dev.eclipse.org/mailman/listinfo/aspectj-users
>
>
_______________________________________________
aspectj-users mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/aspectj-users

Reply via email to