On Thu, Aug 11, 2016 at 11:48 PM, Meinert Schwartau
<
[hidden email]> wrote:
> Hi!
>
> Currently I have three questions:
>
> I want to declare my own methods like isJunitTest, isBookingClass, isMasterdataClass, isGeneratedClass and so on to filter and visualize my classes. As far as I read it these new methods should be added to existing classes. So in my case because they belong to a class to FamixClass. But these extensions should be stored in a separate package. How do you do it? Is there an example in the web how to do this in pharo?
If your package is called "MyProject"
then in FamixClass create a method protocol "*MyProject" to put your
methods in.
As an example, check out the protocols of Integer that have a leading asterix.
cheers -ben
_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.list.inf.unibe.ch/listinfo/moose-dev