<HTML>
<HEAD>
<TITLE>[Q] How you know author of methods in some Class ?</TITLE>
</HEAD>
<BODY>
<FONT SIZE="4"><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>Folks:<BR>
<BR>
I using some like:<BR>
<BR>
Utilities methodsWithInitials: 'edc' inClass: Object<BR>
<BR>
And &nbsp;for it <BR>
<BR>
CompiledMethod author<BR>
author<BR>
&nbsp;&nbsp;&nbsp;&nbsp;self timeStamp isEmpty<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ifTrue: [^ 'unknown']<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ifFalse: [^ self timeStamp substrings first]<BR>
<BR>
My old implementation is<BR>
<BR>
Utilities class methodsWithInitials:inClass:<BR>
methodsWithInitials: targetInitials inClass: aClass <BR>
&nbsp;&nbsp;&nbsp;&nbsp;&quot;Based on a do-it contributed to the Squeak mailing list by G&Atilde;&para;ran<BR>
&nbsp;&nbsp;&nbsp;&nbsp;Hultgen: Browse methods whose initials (in the time-stamp, as logged to<BR>
&nbsp;&nbsp;&nbsp;&nbsp;disk) match the given initials.<BR>
&nbsp;&nbsp;&nbsp;&nbsp;Print out the complete time-stamp table to the Transcript.<BR>
&nbsp;&nbsp;&nbsp;&nbsp;Answer a list of (initials -&gt; count) associations.<BR>
&nbsp;&nbsp;&nbsp;&nbsp;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;CAUTION: It may take several minutes for this to complete.&quot;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&quot;Time millisecondsToRun: [Utilities methodsWithInitials: 'bf']&quot;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;| methodList methodListClass |<BR>
&nbsp;&nbsp;&nbsp;&nbsp;methodList := aClass methodDict<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;select: [:cm | cm author = targetInitials].<BR>
&nbsp;&nbsp;&nbsp;&nbsp;methodListClass := aClass class methodDict<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;select: [:cm | cm author = targetInitials].<BR>
&nbsp;&nbsp;&nbsp;&nbsp;^ methodList , methodListClass<BR>
<BR>
<BR>
Pros, Cons, better ways?<BR>
Like to go Trunk if possible...<BR>
<BR>
Edgar</SPAN></FONT></FONT>
</BODY>
</HTML>