[GemStone-Smalltalk] Listing methods

Pierre CHANSON via GemStone-Smalltalk gemstone-smalltalk at lists.gemtalksystems.com
Tue Feb 24 09:51:01 PST 2015


Alright <class> sourceCodeAt: <aSelector found with #selectors>. Got it :)
Not direct but efficient

2015-02-24 14:40 GMT-03:00 Pierre CHANSON <chans.pierre at gmail.com>:

> Actually an interesting thing with GsNMethods would be to access the
> source code from here somehow...
>
> Pierre
>
> 2015-02-24 14:15 GMT-03:00 Pierre CHANSON <chans.pierre at gmail.com>:
>
> Thank you very much Reno and Bill !
>>
>> actually for me SystemRepository class or Repository don't reconize #
>> _methodDict. Maybe due to my version of GemStone ?
>> (GemStone64Bit3.2.1-x86_64.Linux)
>>
>> I was using something like:
>> (Repository instVarNamed: 'methDicts') asArray.
>> But was not exactly nice nor what I needed because it give me some
>> GsNMethod.
>>
>> the method #selectors works just fine :)
>>
>> Thanks,
>>
>> Pierre
>>
>>
>> 2015-02-24 12:32 GMT-03:00 Bill Erickson <
>> bill.erickson at gemtalksystems.com>:
>>
>> <className> selectors
>>>
>>>
>>>
>>> ------------------------------------------------------------------------
>>> Bill Erickson
>>> GemTalk Systems Engineering
>>> 15220 NW Greenbrier Parkway #240, Beaverton OR 97006
>>> ------------------------------------------------------------------------
>>>
>>> On Tue, Feb 24, 2015 at 7:15 AM, Pierre CHANSON via GemStone-Smalltalk <
>>> gemstone-smalltalk at lists.gemtalksystems.com> wrote:
>>>
>>>> hi all,
>>>>
>>>> I would like to know what is the best way to list all methods of a
>>>> class, a method like: Class>>#allMethods so I can get apply some #asArray
>>>> on it
>>>>
>>>> Thank you,
>>>>
>>>> Pierre
>>>>
>>>> _______________________________________________
>>>> GemStone-Smalltalk mailing list
>>>> GemStone-Smalltalk at lists.gemtalksystems.com
>>>> http://lists.gemtalksystems.com/mailman/listinfo/gemstone-smalltalk
>>>>
>>>>
>>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gemtalksystems.com/mailman/private/gemstone-smalltalk/attachments/20150224/a0a6768d/attachment-0001.html>


More information about the GemStone-Smalltalk mailing list