Hi !! There are more than 12- AO code smells in AspectJ are identified by various researchers.Still more , how to identify them? Code smells are subjective , but how some one know exactly this is code smells and what its theoretical and empirical for this?
I need this for research ,please some body AspectJ code expert can help me. Thanks Regards S Kotrappa On Sun, Dec 18, 2011 at 4:22 PM, <[email protected]> wrote: > Send aspectj-users mailing list submissions to > [email protected] > > To subscribe or unsubscribe via the World Wide Web, visit > https://dev.eclipse.org/mailman/listinfo/aspectj-users > or, via email, send a message with subject or body 'help' to > [email protected] > > You can reach the person managing the list at > [email protected] > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of aspectj-users digest..." > > > Today's Topics: > > 1. Re: Is it possible to modify the subject type based on the > presence of a certain annotation on a type's method? (Mark) > 2. Is there any difference between !within(@MyAnn *) and > within(!@MyAnn *)? How about !within(IMyIntf+) and > within(!IMyIntf+)? (Mark) > 3. Re: Warning message in Eclipse Java/AspectJ applications > (Andrew Eisenberg) (Kotrappa Sirbi) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Sun, 18 Dec 2011 02:49:21 -0800 (PST) > From: Mark <[email protected]> > To: [email protected] > Subject: Re: [aspectj-users] Is it possible to modify the subject type > based on the presence of a certain annotation on a type's method? > Message-ID: <[email protected]> > Content-Type: text/plain; charset=us-ascii > > Could not find how to do it, so I declare an error instead, like this: > =================================================== > public aspect LogMeAspect extends LoggerAspect { > ... > private pointcut logMeTypeScope() : within(@LogMe *); > declare error : !within(ILoggable+) && !logMeTypeScope() && > execution(@LogMe * *.*(..)) : > "{advice.aspecttype}: The method > {joinpoint.signature.declaringType}.{joinpoint.signature.name} (line > {joinpoint.sourcelocation.line}) is annotated with the @LogMe annotation, > but the declaring type is neither @LogMe annotated nor implements the > ILoggable interface."; > } > =================================================== > > Is this the best way to enforce the desired semantics? > > Thanks. > > -- > View this message in context: > http://aspectj.2085585.n4.nabble.com/Is-it-possible-to-modify-the-subject-type-based-on-the-presence-of-a-certain-annotation-on-a-type-s--tp4210440p4210538.html > Sent from the AspectJ - users mailing list archive at Nabble.com. > > > ------------------------------ > > Message: 2 > Date: Sun, 18 Dec 2011 02:51:22 -0800 (PST) > From: Mark <[email protected]> > To: [email protected] > Subject: [aspectj-users] Is there any difference between > !within(@MyAnn *) and within(!@MyAnn *)? How about !within(IMyIntf+) > and within(!IMyIntf+)? > Message-ID: <[email protected]> > Content-Type: text/plain; charset=us-ascii > > The title says it all. > > Thanks. > > -- > View this message in context: > http://aspectj.2085585.n4.nabble.com/Is-there-any-difference-between-within-MyAnn-and-within-MyAnn-How-about-within-IMyIntf-and-within-IM-tp4210544p4210544.html > Sent from the AspectJ - users mailing list archive at Nabble.com. > > > ------------------------------ > > Message: 3 > Date: Sun, 18 Dec 2011 16:22:26 +0530 > From: Kotrappa Sirbi <[email protected]> > To: [email protected] > Subject: Re: [aspectj-users] Warning message in Eclipse Java/AspectJ > applications (Andrew Eisenberg) > Message-ID: > <CACbPorw=8oQgzH_t6_T5LcCZq08fq8k8v=u8kmbcctz+ui_...@mail.gmail.com > > > Content-Type: text/plain; charset="iso-8859-1" > > * Thanks Andy E, > I am running AspectJ projects after importing from download folder in > ubuntu 11.04 and project working(AspectTetris) but inside the code there > are 1092 warnings are there .I want to remove those errors. > After checking Build Automatically and cleaning the projects, still same > warnings. > Is there any alternatives way to import or any version AspectJ portability > problem. > > Please some body help me out. > > Regards > > S Kotrappa > > * > On Sun, Dec 18, 2011 at 3:50 PM, <[email protected]> > wrote: > > > Send aspectj-users mailing list submissions to > > [email protected] > > > > To subscribe or unsubscribe via the World Wide Web, visit > > https://dev.eclipse.org/mailman/listinfo/aspectj-users > > or, via email, send a message with subject or body 'help' to > > [email protected] > > > > You can reach the person managing the list at > > [email protected] > > > > When replying, please edit your Subject line so it is more specific > > than "Re: Contents of aspectj-users digest..." > > > > > > Today's Topics: > > > > 1. Re: aspectj-users Digest, Vol 82, Issue 23 (Kotrappa Sirbi) > > 2. Warning message in Eclipse Java/AspectJ applications > > (Kotrappa Sirbi) > > 3. Re: Warning message in Eclipse Java/AspectJ applications > > (Andrew Eisenberg) > > 4. Re: Is it possible to define a scope of methods accepting at > > least one non primitive argument? (Mark) > > 5. Is it possible to modify the subject type based on the > > presence of a certain annotation on a type's method? (Mark) > > 6. Re: Is it possible to define a scope of methods accepting at > > least one non primitive argument? (Mark) > > > > > > ---------------------------------------------------------------------- > > > > Message: 1 > > Date: Sun, 18 Dec 2011 04:41:55 +0530 > > From: Kotrappa Sirbi <[email protected]> > > To: [email protected] > > Subject: Re: [aspectj-users] aspectj-users Digest, Vol 82, Issue 23 > > Message-ID: > > <CACbPorypTRGWJ9J= > [email protected] > > > > > Content-Type: text/plain; charset="iso-8859-1" > > > > Hi !! > > > > How to remove warning messages in java/AspectJ applications in Eclipse . > > > Configure Build Path > Build path >Add External JARs .jar or .zip is > > not working. > > > > Please some help me to remove these warnings. > > > > Thanking you, > > > > Regards > > > > S Kotrappa > > > > > > > > On Fri, Dec 16, 2011 at 10:30 PM, <[email protected]> > > wrote: > > > > > Send aspectj-users mailing list submissions to > > > [email protected] > > > > > > To subscribe or unsubscribe via the World Wide Web, visit > > > https://dev.eclipse.org/mailman/listinfo/aspectj-users > > > or, via email, send a message with subject or body 'help' to > > > [email protected] > > > > > > You can reach the person managing the list at > > > [email protected] > > > > > > When replying, please edit your Subject line so it is more specific > > > than "Re: Contents of aspectj-users digest..." > > > > > > > > > Today's Topics: > > > > > > 1. First AJDT snapshot release with AspectJ 1.7 (Andrew Eisenberg) > > > > > > > > > ---------------------------------------------------------------------- > > > > > > Message: 1 > > > Date: Fri, 16 Dec 2011 08:40:48 -0800 > > > From: Andrew Eisenberg <[email protected]> > > > To: [email protected], [email protected] > > > Subject: [aspectj-users] First AJDT snapshot release with AspectJ 1.7 > > > Message-ID: > > > < > > cajpxihfolfmk4ep8ynxtnewbnlrah0jr9e01fgumwte8nxt...@mail.gmail.com > > > > > > > Content-Type: text/plain; charset=ISO-8859-1 > > > > > > Hi all, > > > > > > We now have a first usable snapshot release of AJDT with AspectJ 1.7 > > > available on the dev update site: > > > http://download.eclipse.org/tools/ajdt/37/dev/update/ > > > > > > All tests are passing and we have done a simple smoke test. ?It is now > > > at a stage where we want to get feedback from the community. ?So, > > > please try out the new AJDT and let us know if you have any issues > > > (with the Eclipse tools or with the compiler). ?Thanks. > > > > > > Andrew > > > > > > > > > ------------------------------ > > > > > > _______________________________________________ > > > aspectj-users mailing list > > > [email protected] > > > https://dev.eclipse.org/mailman/listinfo/aspectj-users > > > > > > > > > End of aspectj-users Digest, Vol 82, Issue 23 > > > ********************************************* > > > > > -------------- next part -------------- > > An HTML attachment was scrubbed... > > URL: < > > > https://dev.eclipse.org/mailman/private/aspectj-users/attachments/20111218/e14d8659/attachment.html > > > > > > > ------------------------------ > > > > Message: 2 > > Date: Sun, 18 Dec 2011 04:42:47 +0530 > > From: Kotrappa Sirbi <[email protected]> > > To: [email protected] > > Subject: [aspectj-users] Warning message in Eclipse Java/AspectJ > > applications > > Message-ID: > > < > cacbporwws91w6mhjotwyl4ssab1r+wuevfk5t4mkxwiakch...@mail.gmail.com > > > > > Content-Type: text/plain; charset="iso-8859-1" > > > > Hi !! > > > > How to remove warning messages in java/AspectJ applications in Eclipse . > > > Configure Build Path > Build path >Add External JARs .jar or .zip is > > not working. > > > > Please some help me to remove these warnings. > > > > Thanking you, > > > > Regards > > > > S Kotrappa > > > > On Sun, Dec 18, 2011 at 4:41 AM, Kotrappa Sirbi <[email protected] > > >wrote: > > > > > Hi !! > > > > > > How to remove warning messages in java/AspectJ applications in Eclipse > . > > > > Configure Build Path > Build path >Add External JARs .jar or .zip > is > > > not working. > > > > > > Please some help me to remove these warnings. > > > > > > Thanking you, > > > > > > Regards > > > > > > S Kotrappa > > > > > > > > > > > > > > > On Fri, Dec 16, 2011 at 10:30 PM, <[email protected] > > >wrote: > > > > > >> Send aspectj-users mailing list submissions to > > >> [email protected] > > >> > > >> To subscribe or unsubscribe via the World Wide Web, visit > > >> https://dev.eclipse.org/mailman/listinfo/aspectj-users > > >> or, via email, send a message with subject or body 'help' to > > >> [email protected] > > >> > > >> You can reach the person managing the list at > > >> [email protected] > > >> > > >> When replying, please edit your Subject line so it is more specific > > >> than "Re: Contents of aspectj-users digest..." > > >> > > >> > > >> Today's Topics: > > >> > > >> 1. First AJDT snapshot release with AspectJ 1.7 (Andrew Eisenberg) > > >> > > >> > > >> ---------------------------------------------------------------------- > > >> > > >> Message: 1 > > >> Date: Fri, 16 Dec 2011 08:40:48 -0800 > > >> From: Andrew Eisenberg <[email protected]> > > >> To: [email protected], [email protected] > > >> Subject: [aspectj-users] First AJDT snapshot release with AspectJ 1.7 > > >> Message-ID: > > >> < > > >> cajpxihfolfmk4ep8ynxtnewbnlrah0jr9e01fgumwte8nxt...@mail.gmail.com> > > >> Content-Type: text/plain; charset=ISO-8859-1 > > >> > > >> Hi all, > > >> > > >> We now have a first usable snapshot release of AJDT with AspectJ 1.7 > > >> available on the dev update site: > > >> http://download.eclipse.org/tools/ajdt/37/dev/update/ > > >> > > >> All tests are passing and we have done a simple smoke test. ?It is now > > >> at a stage where we want to get feedback from the community. ?So, > > >> please try out the new AJDT and let us know if you have any issues > > >> (with the Eclipse tools or with the compiler). ?Thanks. > > >> > > >> Andrew > > >> > > >> > > >> ------------------------------ > > >> > > >> _______________________________________________ > > >> aspectj-users mailing list > > >> [email protected] > > >> https://dev.eclipse.org/mailman/listinfo/aspectj-users > > >> > > >> > > >> End of aspectj-users Digest, Vol 82, Issue 23 > > >> ********************************************* > > >> > > > > > > > > -------------- next part -------------- > > An HTML attachment was scrubbed... > > URL: < > > > https://dev.eclipse.org/mailman/private/aspectj-users/attachments/20111218/8a25c95c/attachment.htm > > > > > > > ------------------------------ > > > > Message: 3 > > Date: Sat, 17 Dec 2011 22:07:28 -0800 > > From: Andrew Eisenberg <[email protected]> > > To: [email protected] > > Subject: Re: [aspectj-users] Warning message in Eclipse Java/AspectJ > > applications > > Message-ID: > > < > cajpxiheb8y53g0_4c0o-dmp+euqrqdqbkv+erai0evjmyig...@mail.gmail.com > > > > > Content-Type: text/plain; charset=ISO-8859-1 > > > > Have you tried: Project -> Clean... Also, make sure that "Build > > automatically" is checked. > > > > Can you please be more specific about what your problem is? > > > > On Sat, Dec 17, 2011 at 3:12 PM, Kotrappa Sirbi <[email protected]> > > wrote: > > > Hi !! > > > > > > How to remove warning messages in java/AspectJ applications in Eclipse > . > > >>??? Configure Build Path > Build path >Add External JARs .jar or .zip > is > > >> not working. > > > > > > Please some help me to remove these warnings. > > > > > > Thanking you, > > > > > > Regards > > > > > > S Kotrappa > > > > > > On Sun, Dec 18, 2011 at 4:41 AM, Kotrappa Sirbi <[email protected]> > > > wrote: > > >> > > >> Hi !! > > >> > > >> How to remove warning messages in java/AspectJ applications in > Eclipse . > > >> >??? Configure Build Path > Build path >Add External JARs .jar or .zip > > is > > >> > not working. > > >> > > >> Please some help me to remove these warnings. > > >> > > >> Thanking you, > > >> > > >> Regards > > >> > > >> S Kotrappa > > >> > > >> > > >> > > >> > > >> On Fri, Dec 16, 2011 at 10:30 PM, <[email protected]> > > >> wrote: > > >>> > > >>> Send aspectj-users mailing list submissions to > > >>> ? ? ? [email protected] > > >>> > > >>> To subscribe or unsubscribe via the World Wide Web, visit > > >>> ? ? ? ?https://dev.eclipse.org/mailman/listinfo/aspectj-users > > >>> or, via email, send a message with subject or body 'help' to > > >>> ? ? ? [email protected] > > >>> > > >>> You can reach the person managing the list at > > >>> ? ? ? [email protected] > > >>> > > >>> When replying, please edit your Subject line so it is more specific > > >>> than "Re: Contents of aspectj-users digest..." > > >>> > > >>> > > >>> Today's Topics: > > >>> > > >>> ? 1. First AJDT snapshot release with AspectJ 1.7 (Andrew Eisenberg) > > >>> > > >>> > > >>> > ---------------------------------------------------------------------- > > >>> > > >>> Message: 1 > > >>> Date: Fri, 16 Dec 2011 08:40:48 -0800 > > >>> From: Andrew Eisenberg <[email protected]> > > >>> To: [email protected], [email protected] > > >>> Subject: [aspectj-users] First AJDT snapshot release with AspectJ 1.7 > > >>> Message-ID: > > >>> > > >>> ?<cajpxihfolfmk4ep8ynxtnewbnlrah0jr9e01fgumwte8nxt...@mail.gmail.com > > > > >>> Content-Type: text/plain; charset=ISO-8859-1 > > >>> > > >>> Hi all, > > >>> > > >>> We now have a first usable snapshot release of AJDT with AspectJ 1.7 > > >>> available on the dev update site: > > >>> http://download.eclipse.org/tools/ajdt/37/dev/update/ > > >>> > > >>> All tests are passing and we have done a simple smoke test. ?It is > now > > >>> at a stage where we want to get feedback from the community. ?So, > > >>> please try out the new AJDT and let us know if you have any issues > > >>> (with the Eclipse tools or with the compiler). ?Thanks. > > >>> > > >>> Andrew > > >>> > > >>> > > >>> ------------------------------ > > >>> > > >>> _______________________________________________ > > >>> aspectj-users mailing list > > >>> [email protected] > > >>> https://dev.eclipse.org/mailman/listinfo/aspectj-users > > >>> > > >>> > > >>> End of aspectj-users Digest, Vol 82, Issue 23 > > >>> ********************************************* > > >> > > >> > > > > > > > > > _______________________________________________ > > > aspectj-users mailing list > > > [email protected] > > > https://dev.eclipse.org/mailman/listinfo/aspectj-users > > > > > > > > > ------------------------------ > > > > Message: 4 > > Date: Sun, 18 Dec 2011 00:00:30 -0800 (PST) > > From: Mark <[email protected]> > > To: [email protected] > > Subject: Re: [aspectj-users] Is it possible to define a scope of > > methods accepting at least one non primitive argument? > > Message-ID: <[email protected]> > > Content-Type: text/plain; charset="us-ascii" > > > > I have one more question. I have three aspects affecting the same method: > > - NotNullAspect > > - LoggerAspect > > - AuthorizeAspect > > > > How can I affect the order in which they are applied? I would like them > to > > be applied in the following order: > > - LoggerAspect > > - NotNullAspect > > - AuthorizeAspect > > > > I tried to add to the NotNullAspect the following line: > > ===================== > > declare precedence : NotNullAspect, LoggerAspect; > > ===================== > > OR > > ===================== > > declare precedence : LoggerAspect, NotNullAspect; > > ===================== > > > > To no avail. How am I to do it? > > > > Thanks. > > > > -- > > View this message in context: > > > http://aspectj.2085585.n4.nabble.com/Is-it-possible-to-define-a-scope-of-methods-accepting-at-least-one-non-primitive-argument-tp4195341p4210295.html > > Sent from the AspectJ - users mailing list archive at Nabble.com. > > -------------- next part -------------- > > An HTML attachment was scrubbed... > > URL: < > > > https://dev.eclipse.org/mailman/private/aspectj-users/attachments/20111218/6ef6c038/attachment.htm > > > > > > > ------------------------------ > > > > Message: 5 > > Date: Sun, 18 Dec 2011 01:57:35 -0800 (PST) > > From: Mark <[email protected]> > > To: [email protected] > > Subject: [aspectj-users] Is it possible to modify the subject type > > based on the presence of a certain annotation on a type's method? > > Message-ID: <[email protected]> > > Content-Type: text/plain; charset=us-ascii > > > > For instance, given a method annotated with the LogMe annotation, I would > > like the declaring type to be annotated with @LogMe or implement the > > ILoggable interface (or both). > > > > It is possible? > > > > -- > > View this message in context: > > > http://aspectj.2085585.n4.nabble.com/Is-it-possible-to-modify-the-subject-type-based-on-the-presence-of-a-certain-annotation-on-a-type-s--tp4210440p4210440.html > > Sent from the AspectJ - users mailing list archive at Nabble.com. > > > > > > ------------------------------ > > > > Message: 6 > > Date: Sun, 18 Dec 2011 02:20:02 -0800 (PST) > > From: Mark <[email protected]> > > To: [email protected] > > Subject: Re: [aspectj-users] Is it possible to define a scope of > > methods accepting at least one non primitive argument? > > Message-ID: <[email protected]> > > Content-Type: text/plain; charset=us-ascii > > > > Found it, I should have written: > > ========================================= > > declare precedence : LoggerAspect+, NotNullAspect; > > ========================================= > > > > Note the + after LoggerAspect. > > > > It works now. > > > > -- > > View this message in context: > > > http://aspectj.2085585.n4.nabble.com/Is-it-possible-to-define-a-scope-of-methods-accepting-at-least-one-non-primitive-argument-tp4195341p4210489.html > > Sent from the AspectJ - users mailing list archive at Nabble.com. > > > > > > ------------------------------ > > > > _______________________________________________ > > aspectj-users mailing list > > [email protected] > > https://dev.eclipse.org/mailman/listinfo/aspectj-users > > > > > > End of aspectj-users Digest, Vol 82, Issue 25 > > ********************************************* > > > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: < > https://dev.eclipse.org/mailman/private/aspectj-users/attachments/20111218/f790b72e/attachment.htm > > > > ------------------------------ > > _______________________________________________ > aspectj-users mailing list > [email protected] > https://dev.eclipse.org/mailman/listinfo/aspectj-users > > > End of aspectj-users Digest, Vol 82, Issue 26 > ********************************************* >
_______________________________________________ aspectj-users mailing list [email protected] https://dev.eclipse.org/mailman/listinfo/aspectj-users
