code: public static <T> ObjectAccessor<T> of(T object, Class<T> type) {
          return new ObjectAccessor<>(object, type);
      }
docs: Factory method.
  
  @param <T> {@link #object}'s type, or a supertype.
  @param object The object to wrap.
  @param type Superclass of {@link #object}'s type, as which it will be
  treated by {@link ObjectAccessor}.
  @return An {@link ObjectAccessor} for {@link #object}.