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