code: @SuppressWarnings("unchecked")
    @Nullable
    public <V extends FileAttributeView> V getFileAttributeView(FileLookup lookup, Class<V> type) {
      AttributeProvider provider = providersByViewType.get(type);
  
      if (provider != null) {
        return (V) provider.view(lookup, createInheritedViews(lookup, provider));
      }
  
      return null;
    }
docs: Returns an attribute view of the given type for the given file lookup callback, or {@code null}
  if the view type is not supported.