in src/main/java/com/pastdev/jsch/nio/file/UnixSshFileSystemProvider.java [278:289]
public <V extends FileAttributeView> V getFileAttributeView( Path path, Class<V> type, LinkOption... linkOptions ) {
if ( type == BasicFileAttributeView.class ) {
return (V)getFileAttributeView( path, "basic", linkOptions );
}
if ( type == PosixFileAttributeView.class ) {
return (V)getFileAttributeView( path, "posix", linkOptions );
}
if ( type == null ) {
throw new NullPointerException();
}
return (V)null;
}