mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-06 03:21:12 +07:00
11 lines
477 B
HTML
11 lines
477 B
HTML
<html>
|
|
<body>
|
|
Reports calls to object constructors inside <code>clone()</code> methods.
|
|
<p>It is considered good practice to call <code>clone()</code> to instantiate objects inside of a <code>clone()</code> method
|
|
instead of creating them directly to support later subclassing.
|
|
This inspection will not report
|
|
<code>clone()</code> methods declared as <code>final</code>
|
|
or <code>clone()</code> methods on <code>final</code> classes.</p>
|
|
<!-- tooltip end -->
|
|
</body>
|
|
</html> |