https://kotlinlang.org logo
#kotlin-native
Title
# kotlin-native
m

Muhammet Emin Gündoğar

06/28/2022, 4:33 PM
hi guys i want to find kotlin source code to learn how they implemented.For example i want to learn how to string method implemented but i could not find it how can i find kotlin source code?
j

Joffrey

06/28/2022, 7:47 PM
Usually you can navigate to implementations via the IDE (Ctrl/Cmd+click, or Ctrl/Cmd+B). Also, in the official KDoc of the standard library, there are links to the source code for different platforms. However if you mean specifically the
toString()
method of a
data class
, it is generated and you won't find its implementation, just like
componentX
and
copy
methods.
3 Views