java generic how to use generic in constructor
<pre><code>public class DbManager&lt;T extends Dao&gt; {

    public DbManager(Context c) {
        setCreateDatabaseScript(T);
    }

    public void setCreateDatabaseScript(T dao) {
        this.createDatabaseScript = ((Dao)dao).createTable();
    }

    //..
}
</code></pre>

<p>how can I inside constructor call setCreateDatabaseScript. I try like in example but not working. What is correct syntax?</p>
