Files
openide/java/java-impl/resources/inspectionDescriptions/ProtectedInnerClass.html
2025-02-05 04:43:28 +00:00

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>