mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-16 14:23:28 +07:00
33 lines
585 B
HTML
33 lines
585 B
HTML
<html>
|
|
<body>
|
|
Reports references to inner classes that are not qualified with the name
|
|
of the enclosing class.
|
|
<p><b>Example:</b></p>
|
|
<pre><code>
|
|
import foo.Foo.Bar;
|
|
|
|
class Foo {
|
|
class Bar {}
|
|
}
|
|
|
|
class Baz {
|
|
void f(Bar bar) {}
|
|
}
|
|
</code></pre>
|
|
<p>After the quick-fix is applied:</p>
|
|
<pre><code>
|
|
class Foo {
|
|
class Bar {}
|
|
}
|
|
|
|
class Baz {
|
|
void f(Foo.Bar bar) {}
|
|
}
|
|
</code></pre>
|
|
<!-- tooltip end -->
|
|
<p>
|
|
Use the inspection settings to ignore references to inner classes within the same class,
|
|
which therefore do not require an import.
|
|
<p>
|
|
</body>
|
|
</html> |