Is your feature request related to a problem?
The solution in #862 only works for own members, not inherited ones.
Desired solution
- Use
streamSupertypes to get the class that contains the accessed member.
- Apply the current solution using this class type.
Possible alternatives (optional)
No response
Screenshots (optional)
No response
Additional Context (optional)
- Maybe also update
streamSupertypes to also return the initial class type. There are now two situations (this, and isAssignableTo) where this would be more useful.