mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-16 14:23:28 +07:00
16 lines
898 B
HTML
16 lines
898 B
HTML
<html>
|
|
<body>
|
|
Reports empty methods that can be removed.
|
|
<p>Methods are considered empty if they are empty themselves and if they are overridden or
|
|
implemented by empty methods only. Note that methods containing only comments and the <code>super()</code> call with own parameters are
|
|
also considered empty.</p>
|
|
<p>The inspection ignores methods with special annotations, for example, the <code>javax.ejb.Init</code> and <code>javax.ejb.Remove</code> EJB annotations .</p>
|
|
<p>The quick-fix safely removes unnecessary methods.</p>
|
|
<!-- tooltip end -->
|
|
<p>Configure the inspection:</p>
|
|
<ul>
|
|
<li>Use the <b>Comments and javadoc count as content</b> option to select whether methods with comments should be treated as non-empty.</li>
|
|
<li>Use the <b>Additional special annotations</b> option to configure additional annotations that should be ignored by this inspection.</li>
|
|
</ul>
|
|
</body>
|
|
</html> |