/** 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(b: String): Unit defined in root package in file OnMethodUsageWithReceiver.kt

Some documentation

//INFO:
Receiver:
Some int
//INFO:
Parameters:
b - String
//INFO:
Returns:
Return a and nothing else