mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-07 13:39:36 +07:00
28 lines
803 B
HTML
28 lines
803 B
HTML
<html>
|
|
<body>
|
|
Reports non-static inner classes that implement <code>Serializable</code>
|
|
and are declared inside a class that doesn't implement <code>Serializable</code>.
|
|
<p>
|
|
Such classes are unlikely to serialize correctly due to implicit references to the outer class.
|
|
</p>
|
|
<p><b>Example:</b></p>
|
|
<pre><code>
|
|
class A {
|
|
class Main implements Serializable {
|
|
}
|
|
}
|
|
</code></pre>
|
|
<!-- tooltip end -->
|
|
<p>Use the following options to configure the inspection:</p>
|
|
<ul>
|
|
<li>
|
|
List classes whose inheritors should not be reported by this inspection.
|
|
This is meant for classes that inherit
|
|
<code>Serializable</code> from a superclass but are not intended for serialization.
|
|
</li>
|
|
<li>
|
|
Whether to ignore <code>Serializable</code> anonymous classes.
|
|
</li>
|
|
</ul>
|
|
</body>
|
|
</html> |