Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[ajdt-dev] Problems with source location

Hi
 
I’m trying to extract source file information during the weaving process. I wrote the following code:
 
ISourceLocation l = aspectClazz.getType().getSourceLocation();
startLine = l.getLine();
endLine = l.getEndLine();
 
where aspectClazz is of type LazyClassGen .
 
I always get that startLine  == endLine  which correspond to the first line of the aspect declaration. What am I doing wrong here?
 
Thanks
 

Back to the top