Open seandenigris opened 1 year ago
… or a generic superclass if all else fails. This is the approach taken by LlLibraryItem. PeGtDeepestSubInstanceFilter supports this via Spotter, but then there is the non-Spotter case, which can be handled with something like:
LlLibraryItem
PeGtDeepestSubInstanceFilter
str := Clipboard clipboardText asString. cls := LlLibraryItem peClassForString: str. cls fromString: str
Use Cases
Map to the best class representation…
… or a generic superclass if all else fails. This is the approach taken by
LlLibraryItem
.PeGtDeepestSubInstanceFilter
supports this via Spotter, but then there is the non-Spotter case, which can be handled with something like: