Redefining ClassDescription>>methods ?

Previous Topic Next Topic
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Redefining ClassDescription>>methods ?

Dear All,

I am wondering how safe is it to override #methods with a different implementation.

"For VisualSmalltalk fileout and Parcel source file compatibility.
Answer a ClassCategoryReader that will compile methods for the receiver.

Methods that are in an existing category will remain there.

Methods that are not in an existing category will be place in a
category named 'As yet unclassified'."

^self methodsFor: self organization class defaultProtocol

I see that  Refactory.Browser.ClassAndMethodTabNavigatorPart makes uses of #methods, but I am not sure whether this is obsolete code or not.

Kind regards,
Alexandre Bergel

vwnc mailing list
[hidden email]