Where's the method?
<p>My source:</p>

<pre><code>private static HashMap&lt;String, Class&lt;?&gt;&gt; mapLogic = new HashMap&lt;String,Class&lt;?&gt;&gt;();

mapLogic.put("s", Packet1.class);
mapLogic.put("a", Packet2.class);

public abstract class Packet { 
    public abstract void get(ChannelBuffer buffer);
    public abstract void send(ChannelBuffer buffer);
}
</code></pre>

<p>and </p>

<pre><code>public class Packet1 extends Packet{

    @Override
    public void get(ChannelBuffer buffer) {
    }


    @Override
    public void send(ChannelBuffer buffer) {
    }

}


public class Packet2 extends Packet{

    @Override
    public void get(ChannelBuffer buffer) {
    }

    @Override
    public void send(ChannelBuffer buffer) {
    }

}
</code></pre>

<p><code>mapLogic.get("s").newInstance().get()</code>   &lt;--- get or send not available</p>

<p>How can I get these methods?</p>
