NB it looks like it doesn't cover all cases, e.g., some synthetic methods generated for suspend functions.
#KT-18563 Fixed