private Object findParcel(@NonNull byte[] objectArray,@NonNull String className){
  try {
    Class classTmp=getClassForName(className);
    Constructor declaredConstructor=classTmp.getDeclaredConstructor(Parcel.class);
    declaredConstructor.setAccessible(true);
    return declaredConstructor.newInstance(WearBusTools.byteToParcel(objectArray));
  }
 catch (  Exception e) {
    Log.d(WearBusTools.BUSWEAR_TAG,"syncEvent error: " + e.getMessage());
  }
  return null;
}

private Object findParcel ( @ NonNull byte [ ] objectArray , @ NonNull String className ) { try { Class classTmp = getClassForName ( className ) ; Constructor declaredConstructor = classTmp . getDeclaredConstructor ( Parcel . class ) ; declaredConstructor . setAccessible ( true ) ; return declaredConstructor . newInstance ( WearBusTools . byteToParcel ( objectArray ) ) ; } catch ( Exception e ) { Log . d ( WearBusTools . BUSWEAR_TAG , "syncEvent error: " + e . getMessage ( ) ) ; } return null ; }
attempts to locate the class specified by classname to instantiate with the given objectarray
