Skip to content
#

tricks

Here are 202 public repositories matching this topic...

jecisc
jecisc commented Jun 6, 2019

Today I was doing a lot of changes on some variables in a deep hierarchy.

Current Pharo tools allow developers to find accesses to a variable in a class but not in a hierarchy so I had to make this snippet:

origin := AbstractWidgetPresenter.
variableName := #borderColor.
(origin slots detect: [ :e | e name = variableName ]) usingMethods collect: #methodClass as: Set

Improve this page

Add a description, image, and links to the tricks topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the tricks topic, visit your repo's landing page and select "manage topics."

Learn more