Files
Anna Kozlova f61c7a4f60 [kotlin] quick doc: include references on builtins
^KTIJ-30157 fixed

GitOrigin-RevId: 03dcc246a778c7276fb94937b34e09beefa9a19d
2024-06-04 21:02:00 +00:00

10 lines
799 B
Kotlin

enum class E {
}
fun use() {
E.values<caret>()
}
//INFO: <div class='definition'><pre><span style="color:#000080;font-weight:bold;">public</span> <span style="color:#000080;font-weight:bold;">final</span> <span style="color:#000080;font-weight:bold;">fun</span> <span style="color:#000000;">values</span>()<span style="">: </span><span style="color:#000000;"><a href="psi_element://kotlin.Array">Array</a></span><span style="">&lt;</span><span style="color:#000000;"><a href="psi_element://E">E</a></span><span style="">&gt;</span></pre></div><div class='content'><p style='margin-top:0;padding-top:0;'>Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.</p></div><table class='sections'></table>