Is it possible for a object to "autodestroy" itself?
<p>Is it possible to have something along the lines of...</p>

<pre><code>class PrivateStuff {
    [private] void autodestroy() {
        // something something
    }
}
</code></pre>

<p>... and have the object be kinda destroyed? Like all references to it be set to null.</p>

<p>P.S. I know you can't really "destroy" an object in Java like you would in other languages (like C), and that it's only killable by the GC, but I'm kinda curious if there's a way to force the GC to kill the caller. Just as an experiment, no intent of use it in a real application.</p>
