@Override
 protected void reset(long cPtr, boolean cMemoryOwn) {
   if (!destroyed) destroy();
   super.reset(
       SoftbodyJNI.btSoftBodyConcaveCollisionAlgorithm_CreateFunc_SWIGUpcast(swigCPtr = cPtr),
       cMemoryOwn);
 }
 @Override
 protected synchronized void delete() {
   if (swigCPtr != 0) {
     if (swigCMemOwn) {
       swigCMemOwn = false;
       SoftbodyJNI.delete_btSoftBodyConcaveCollisionAlgorithm_SwappedCreateFunc(swigCPtr);
     }
     swigCPtr = 0;
   }
   super.delete();
 }
 @Override
 protected void finalize() throws Throwable {
   if (!destroyed) destroy();
   super.finalize();
 }