[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [aspectj-users] MethodDeclarationLineNumber everywhere
|
This attribute is extra debug information that AspectJ puts
into .class files during compilation. It tells us the line number of
the method declaration (as opposed to the line number of the first
line of code in the method, which is all that is normally available).
This enables us to shows advises/advised-by markers in the right
place, and to give accurate line number information in messages etc..
Currently we always include this attribute, but I would accept an
enhancement request on bugzilla to not do so when the -g:none flag is
passed....
Regards, Adrian.
On 8 Oct 2006, at 23:41, Edward Povazan wrote:
Wes Isberg wrote:
Are the warnings harmful? Does the program work with the
aspects?
Wes
Everything works as expected, I just don't want AspectJ artifacts
in every single class. Perhaps this is normal. Or perhaps I am not
specifying some option to the iajc Ant task, I am new to it and
have been using the Eclipse plugin until now.
-Ed
On Sat, 07 Oct 2006 14:36:27 -0700
Edward Povazan <epovazan@xxxxxxxxx> wrote:
Hello,
I am quite new to AspectJ - I started using it to solve a
very specific problem which it does very elegantly.
I am working on my final deployment ant script and I want
to obfuscate my program, and yguard is warning:
WARNING: Unrecognized attribute
'org.aspectj.weaver.MethodDeclarationLineNumber' in
<insert method here>
What is MethodDeclarationLineNumber and how do I get rid
of it? I assume it is for locating lines in .aj source
files. I am building with iajc and don't see an option to
use to stop this.
I get a warning for the MethodDeclarationLineNumber
attribute for every single public method (haven't checked
private etc.) of all my classes - *all* of them, my
entire code base, not just those referred to in .aj
source. Is this necessary?
Thanks
-Ed
_______________________________________________
aspectj-users mailing list
aspectj-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/aspectj-users
_______________________________________________
aspectj-users mailing list
aspectj-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/aspectj-users
_______________________________________________
aspectj-users mailing list
aspectj-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/aspectj-users