@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;
  }
@ 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 ; }
Returns an attribute view of the given type for the given file lookup callback, or {@code null}
if the view type is not supported.