title: How do I define the JNI method signature of a generic class?
body: <p>I have a base class defined in java. I would like to call a native method like so:</p>
  
  <pre><code>public class Base&lt;T&gt;
  {
      public void doSomething()
      {
          nativeDoSomething();
      }
  
      private native void nativeDoSomething();
  }
  </code></pre>
  
  <p>My question is, how do I specify the jni method signature of a generic class?</p>