Re: [aspectj-users] Is it possible to declare new constructors with @DeclareParens/@DeclareMixins?

2009-09-04 Thread Ramnivas Laddad
Yes, you can. For example, this is how you will introduce a no-arg constructor to the Account type. public Account.new() { ... } -Ramnivas 2009/9/4 João Gonçalves > In traditional syntax, it is possible to declare members (fields, methods, > and constructors) via inter-type declarations. > >

[aspectj-users] Is it possible to declare new constructors with @DeclareParens/@DeclareMixins?

2009-09-04 Thread João Gonçalves
In traditional syntax, it is possible to declare members (fields, methods, and constructors) via inter-type declarations. With @DeclareParents/@DeclareMixins it is easy to emulate fields (with getter and setter methods). Is it also possible to declare new constructors for a type? Thanks