Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aspectj-users] how to find the end-of-method line number?

Unfortunately this only gets the start-of-method instead of end-of-method:

  after(): methodUnderTestExecution() {

int returnLineNumber = thisJoinPointStaticPart.getSourceLocation().getLine();

               …

 

Hagai


Back to the top