mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-16 22:51:17 +07:00
17 lines
562 B
HTML
17 lines
562 B
HTML
<html>
|
|
<body>
|
|
Reports <code>static</code> variables that may be uninitialized upon class initialization.
|
|
<p><b>Example:</b></p>
|
|
<pre><code>
|
|
class Foo {
|
|
public static int bar;
|
|
|
|
static { }
|
|
}
|
|
</code></pre>
|
|
<p>Note that this inspection uses a very conservative dataflow algorithm and may incorrectly report <code>static</code> variables as uninitialized. Variables
|
|
reported as initialized will always be initialized.</p>
|
|
<!-- tooltip end -->
|
|
<p>Use the <b>Ignore primitive fields</b> option to ignore uninitialized primitive fields.</p>
|
|
</body>
|
|
</html> |