Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aspectj-users] around advice on constructors

I suppose you've also thought of using declare error to enforce the strict
use of factory methods? It won't be as neat, but it would make the use of
factories airtight...

Cheers,

NCik
--- Daniel McAllansmith <daniel@xxxxxxxxxxxxxxxxxx> wrote:
> On Sat, 08 Mar 2003 06:56, Wes Isberg wrote:
> > chicanery it would be!  The result of an IFaceImpl constructor
> > call is IFaceImpl.  It would be bad to permit that to be a
> > supertype of IFaceImpl.  A subclass would work.
> 
> Mmmm, I wasn't holding out much hope.  All eminently sensible.
> I do confess to wishing for a --fly-by-seat-of-pants switch occasionally.
> 
> I suppose what I really needed was to pick out the assignment, but the 
> constructor was as close as I could get
> 
> Cheers
> Dan
> 
> _______________________________________________
> aspectj-users mailing list
> aspectj-users@xxxxxxxxxxx
> http://dev.eclipse.org/mailman/listinfo/aspectj-users


__________________________________________________
Do you Yahoo!?
Yahoo! Web Hosting - establish your business online
http://webhosting.yahoo.com


Back to the top