@SuppressWarnings("SimplifiableIfStatement") public boolean mustDeserialize(Class cls){
  BinaryClassDescriptor desc=descByCls.get(cls);
  if (desc == null) {
    if (BinaryUtils.wrapTrees() && (cls == TreeMap.class || cls == TreeSet.class))     return false;
    return marshCtx.isSystemType(cls.getName()) || serializerForClass(cls) == null;
  }
 else   return desc.useOptimizedMarshaller();
}

@ SuppressWarnings ( "SimplifiableIfStatement" ) public boolean mustDeserialize ( Class cls ) { BinaryClassDescriptor desc = descByCls . get ( cls ) ; if ( desc == null ) { if ( BinaryUtils . wrapTrees ( ) && ( cls == TreeMap . class || cls == TreeSet . class ) ) return false ; return marshCtx . isSystemType ( cls . getName ( ) ) || serializerForClass ( cls ) == null ; } else return desc . useOptimizedMarshaller ( ) ; }
check whether class must be deserialized anyway .
