Why does java allow this useless class?
<p>This class won't generate any error:</p>

<pre><code>public class AClass {
    AClass(AClass aClass)
    {
    }
}
</code></pre>

<p>This class clearly has no syntactic error, but semantically makes no sense, since it is impossible to create an object of AClass.
From a language design perspective, why is this not addressed by Java?</p>
