Files
openide/java/java-tests/testData/codeInsight/javadocIG/syntheticEnumValues.html
Piotr Tomiak 23c795a7ec IJPL-787 JBHtmlPane: reparent children of icon to compensate jsoup parser not treating icon as img.
GitOrigin-RevId: 37ba94685837e083646c9bfa55fd35746615c090
2024-03-12 15:33:36 +00:00

10 lines
1.6 KiB
HTML

<html><head><base href="placeholder"></head><body><div class="bottom"><icon src="AllIcons.Nodes.Class"></icon>&nbsp;<a href="psi_element://E"><code><span style="color:#000000;">E</span></code></a></div><div class="definition"><pre><i><span style="color:#808000;">@</span><a href="psi_element://org.jetbrains.annotations.Contract"><code><span style="color:#808000;">Contract</span></code></a><span style="">(</span><span style="">value</span><span style=""> = </span><span style="color:#008000;font-weight:bold;">" -&gt; new"</span><span style="">,&nbsp;</span><span style="">pure</span><span style=""> = </span><span style="color:#000080;font-weight:bold;">true</span><span style="">)</span></i><sup><font color="808080" size="3"><i>i</i></font></sup><a href="inferred.annotations"><icon src="AllIcons.Ide.External_link_arrow"></icon></a>&nbsp;
<span style="color:#000080;font-weight:bold;">public static</span>&nbsp;<a href="psi_element://E"><code><span style="color:#000000;">E</span></code></a><span style="">[]</span>&nbsp;<span style="color:#000000;">values</span><span style="">(</span><span style="">)</span></pre></div><hr><div class="content"><p>
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 as follows:
</p><pre> for(E c : E.<wbr>values())
System.<wbr>out.<wbr>println(c);
</pre>
</div><table class="sections"><tbody><tr><td valign="top" class="section"><p>Returns:</p></td><td valign="top"><p>an array containing the constants of this enum type, in the order they're declared</p></td></tr></tbody></table></body></html>