Only public classes can only be imported by quickfix.

 #KT-5360 To be discussed