blob: 5396c91d11216c8ccd4f82ff33594ba667e8954f [file]
<html><head><base href="placeholder"></head><body><div class='definition'><pre><a href="psi_element://E"><code>E</code></a><br><i>@<a href="psi_element://org.jetbrains.annotations.Contract"><code>Contract</code></a>(value = &quot; -&gt; new&quot;,&nbsp;pure = true)</i>&nbsp;
public static&nbsp;<a href="psi_element://E"><code>E</code></a>[]&nbsp;<b>values</b>()</pre></div><div class='content'>
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:
<pre>
for(E c : E.values())
System.out.println(c);
</pre>
<p></div><table class='sections'><p><tr><td valign='top' class='section'><p>Returns:</td><td valign='top'><p>an array containing the constants of this enum type, in the order they're declared</td><tr><td valign='top' class='section'><p><i>Inferred</i> annotations:</td><td valign='top'><p><i>@<a href="psi_element://org.jetbrains.annotations.Contract">org.jetbrains.annotations.Contract</a>(value = &quot; -&gt; new&quot;,&nbsp;pure = true)</i></td></table>