/** Some documentation * @receiver Some int * @param b String * @return Return [a] and nothing else */ fun Int.testMethod(b: String) { } fun test() { 1.testMethod("value") } //INFO:
public fun Int.testMethod(
//INFO:     b: String
//INFO: ): Unit

Some documentation

Receiver:

Some int

Params:

b - String

Returns:

Return a and nothing else
 OnMethodUsageWithReceiver.kt