[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
|
[news.eclipse.tools] Re: Adding own methods to existing classes
|
I agree. AspectJ is the only right way to achieve that kind of flexibility
in Java.
Anything else based on a VCS system will be a limited subset of what you can
achieve with AspectJ.
Frank
"Ian Phillips" <ianp@xxxxxxxxx> wrote in message
news:pan.2003.01.08.15.58.58.296742@xxxxxxxxxxxx
> > Java than about Eclipse... In IBM VisualAge for Smalltalk (also
developed by
> > OTI) classes can be "extended". Please note that in this tool, extending
a
>
> Are "Extensions" a smalltalk language feature? Or is a feature provided by
> the version control system?
>
> If its a VCS feature then this may be something that the Stellation guys
> will be able to provide in a future release.
>
> Otherwise, it sounds like you may want to take a look at AspectJ, and the
> AJDT plugin for Eclipse. It's not an exact fit for what you have descibed
> but, to me at least, the two problems "smell" similar. I think that using
> joinpoints and advice you should be able to get the results that you need,
> the actual method of providing them will be different but you will gain
> all of the advantages that you had with extensions (i.e. non-invasive
> behaviour alteration).
>
> Hope this helps,
> Ian.
>
> --
> #ifndef __COMMON_SENSE__ | Ian Phillips
> #include <std_disclaimer> | TIBCO Software Inc.
> #endif | www.tibco.com
>