Sometimes you want to analyze all the methods in the image. One way to do this is to work with CompiledMethod allInstances
. But it is dangerous to do it this way, as
A dialect independent expression would be
ProtoObject withAllSubclasses gather: [:cls |
cls methodDictionary values asArray,
cls class methodDictionary values asArray]
我想到的一件事是:
RPackage organizer packages flatCollect: #methods
我建议使用SystemNavigation
,它是为此设计的类:
SystemNavigation default allMethodsSelect: [:m | true]
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.