Once refinement is introduced the behavior becomes correct
When kotlin referred to them through java signatures Java resolver ignores expect classes #KT-24185 Fixed