code: public static <V> Key<V> key( com.google.appengine.api.datastore.Key raw ) {
          if ( raw == null ) {
              return null;
          } else {
              return new Key<V>( raw );
          }
      }
docs: Easy null-safe conversion of the raw key.