|
|
Re: aspectj-users Digest, Vol 34, Issue 31: msg#01341
|
Subject: |
Re: aspectj-users Digest, Vol 34, Issue 31 |
On Dec 16, 2007 10:31 PM, < aspectj-users-request@xxxxxxxxxxx> wrote:
Send aspectj-users mailing list submissions to aspectj-users@xxxxxxxxxxx
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 aspectj-users-request@xxxxxxxxxxx
You can reach the person managing the list at aspectj-users-owner@xxxxxxxxxxx
When replying, please edit your Subject line so it is more specific
than "Re: Contents of aspectj-users digest..."
Today's Topics:
1.Re:Aspect Mining & AOP ( S Kotrappa)
Re: Inter-Type constructor ( Alexandru Popescu ? )
----------------------------------------------------------------------
Message: 1 Date: Sun, 16 Dec 2007 14:16:24 +0200 From: " Alexandru Popescu ? " <the.mindstorm.mailinglist@xxxxxxxxx> Subject: Re: [aspectj-users] Inter-Type constructor
To: aspectj-users@xxxxxxxxxxx Message-ID: <c6f400460712160416i49f61107q6498d444b8d04171@xxxxxxxxxxxxxx
> Content-Type: text/plain; charset=UTF-8
On Dec 16, 2007 2:11 PM, Rui Carlos Gonçalves <rui.c.a.g@xxxxxxxxx> wrote: > No. I think you can't redefine a method/constructor. You just can create new
> methods/contructors, but the empty constructor is always defnided (for you, > or for the compiler). So, to redifine this constructor, probably you will > have to use 'around'. >
I don't think Eric suggested replacing the constructor, but rather
"injecting" the ITD constructor code into the compiler defined one.
./alex -- .w( the-mindstorm )p.
> > > On Dec 16, 2007 2:04 AM, Renato Rodrigues <
renatolmsrodrigues@xxxxxxxxx> > wrote: > > So i have to define an empty constructor so i can redefine it with > inter-type declaration? I can't just add a constructor like i can add a > method?
> > > > > > > > > > > > On Dec 15, 2007 11:50 PM, Rui Carlos Gonçalves < rui.c.a.g@xxxxxxxxx> > wrote: > >
> > > I think in Java if you don't create a empty constructor, the compiler > will do that. So, you are trying redefine a constructor already exists. If > you try 'public Client.new(int x)' instead of 'public
Client.new ()' you > don't have any error. Maybe you can use 'Client around() : > call(Client.new()) {...}' in your case. > > > > > > > > > Regards, > > > Rui Gonçalves
> > > > > > > > > PS: sorry by bad english :) > > > > > > > > > > > > > > > > > > On Dec 15, 2007 4:02 PM, Renato Rodrigues <
renatolmsrodrigues@xxxxxxxxx > > wrote: > > > > > > > > > > > > > > > > > > > I want to define the Client constructor in the aspect instead of the
> class itself. Shouldn't it be like this? The compiler says : > > > > inter-type declaration from declare_question.X conflicts with existing > member: void declare_question.Client.<init>() ola/src/declare_question
> X.aj line 6 > > > > ------------------------------------------ > > > > package declare_question; > > > > > > > > > > > > package declare_question;
> > > > > > > > public class Client { > > > > > > > > public static void main(String[] args) { > > > > Client o = new Client();
> > > > } > > > > } > > > > -------------------------------------------------- > > > > > > > > package declare_question; > > > >
> > > > public aspect X { > > > > > > > > public Client.new(){ > > > > System.out.println("cliente"); > > > > } > > > > }
> > > > > > > > _______________________________________________ > > > > 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 > > > > > > > _______________________________________________ > 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
End of aspectj-users Digest, Vol 34, Issue 31 *********************************************
Hi!! Friends, We are working on Aspect Mining-AOP and
looking for better clustering algorithms and scope for future research algorithms in aspect mining: k-means (KM), fuzzy c-means
(FCM) and hierarchical agglomerative clustering (HAC).Please help us any aspectj or Soot Frame work users working on these topics to dicuss & help each others.
thanking you,
regards
-- Prof S Kotrappa Assistant Prof, Department of CSE/MCA KLES's College of Engg., & Technology Belgaum-India.
_______________________________________________
aspectj-users mailing list
aspectj-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/aspectj-users
|
| |