public static <T,TP extends TypedParcelable<T>>TP wrap(T originalObj){
  if (originalObj == null) {
    return null;
  }
  Class<?> type=originalObj.getClass();
  Delegator<T,TypedParcelable<T>> delegator=FROM_ORIGINAL.get(type);
  if (delegator == null) {
    throw new IllegalArgumentException("Unable to find PaperParcel for type '" + type.getSimpleName() + "', did you forget to annotate it with @PaperParcel?");
  }
  return (TP)delegator.wrap(originalObj);
}

public static < T , TP extends TypedParcelable < T > > TP wrap ( T originalObj ) { if ( originalObj == null ) { return null ; } Class < ? > type = originalObj . getClass ( ) ; Delegator < T , TypedParcelable < T > > delegator = FROM_ORIGINAL . get ( type ) ; if ( delegator == null ) { throw new IllegalArgumentException ( "Unable to find PaperParcel for type '" + type . getSimpleName ( ) + "', did you forget to annotate it with @PaperParcel?" ) ; } return ( TP ) delegator . wrap ( originalObj ) ; }
wrap the specified object in its paperparcel wrapper .
