暗黙的な戻り値の型を持つ public または protected の関数およびプロパティを報告します。
API の安定性を確保するため、このような型は明示的に指定することが推奨されています。
例:
fun publicFunctionWhichAbusesTypeInference() =
otherFunctionWithNotObviousReturnType() ?: yetAnotherFunctionWithNotObviousReturnType()
クイックフィックス適用後:
fun publicFunctionWhichAbusesTypeInference(): Api =
otherFunctionWithNotObviousReturnType() ?: yetAnotherFunctionWithNotObviousReturnType()