mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-16 22:51:17 +07:00
20 lines
658 B
HTML
20 lines
658 B
HTML
<html>
|
|
<body>
|
|
Reports <code>public</code> nested classes.
|
|
<p><b>Example:</b></p>
|
|
<pre><code>
|
|
public class Outer {
|
|
public static class Nested {} // warning
|
|
public class Inner {} // warning
|
|
public enum Mode {} // warning depends on the setting
|
|
public interface I {} // warning depends on the setting
|
|
}
|
|
</code></pre>
|
|
<!-- tooltip end -->
|
|
<p>Configure the inspection:</p>
|
|
<ul>
|
|
<li>Use the <b>Ignore 'public' inner enums</b> option to ignore <code>public</code> inner enums.</li>
|
|
<li>Use the <b>Ignore 'public' inner interfaces</b> option to ignore <code>public</code> inner interfaces.</li>
|
|
</ul>
|
|
</body>
|
|
</html> |