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.
>
>
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