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 <jocolimon...@gmail.com>

> 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
>
> _______________________________________________
> aspectj-users mailing list
> aspectj-users@eclipse.org
> https://dev.eclipse.org/mailman/listinfo/aspectj-users
>
>
_______________________________________________
aspectj-users mailing list
aspectj-users@eclipse.org
https://dev.eclipse.org/mailman/listinfo/aspectj-users

Reply via email to