Enforce presence of no-argument constructor at compile time (Java)
<p>I've got a class somewhat like this:</p>

<pre><code>public class Test {

    private final List&lt;ISomeType&gt; things = new LinkedList&lt;ISomeType&gt;();

    public &lt;T extends ISomeType&gt; Test(Class&lt;T&gt; clazz, int order) {
        for (int i = 0; i &lt; order; i++) {
            try {
                this.things.add(clazz.newInstance());
            } catch (Exception e) { 
                // stackoverflowers use your imagination
            }
        }
    }
}
</code></pre>

<p>Where I expect and hope the Class clazz has an accessible no-argument constructor.  Is there any way I can enforce presence of it at compile time?</p>
