Hi,

so in Pharo 5 CriticBrowser does not care about #checksClass, #checksMethod and 
so on. I am changing this in Pharo 6, but I didn’t have enough time for Pharo 
5. For CriticBrowser you need to override instance-side methods #checkClass: or 
#checkMethod:. In your case you want to override  #checkMethod: and if you 
detect a critique you need to do: `result addMethod: yourMethodObject`. 
CriticBrowser checks automatically instance- and class-methods of the packages 
you select.

Uko

> On 08 Sep 2016, at 00:19, Sean P. DeNigris <s...@clipperadams.com> wrote:
> 
> Uko2 wrote
>> Ok, can you also, please, clarify which version of Pharo are you using?
> 
> Sure, sorry for the vague report. Pharo 5
> 
> 
> 
> -----
> Cheers,
> Sean
> --
> View this message in context: 
> http://forum.world.st/Lint-Rule-for-Class-Side-Method-tp4914121p4914682.html
> Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
> 


Reply via email to