@Override
  public void putAttributes(JSONObject node, Object obj, Point offset) throws JSONException {
    final View view = (View) obj;
    putRequired(
        node,
        // NULLSAFE_FIXME[Parameter Not Nullable]
        view.getClass().getCanonicalName(),
        offset.x + LayoutHierarchyDumper.getViewLeft(view),
        offset.y + LayoutHierarchyDumper.getViewTop(view),
        view.getWidth(),
        view.getHeight());
  }
Dumps basic information that applies to all {@link View}s, like position and class
core/src/main/java/com/facebook/testing/screenshot/layouthierarchy/BaseViewAttributePlugin.java