boolean (@NotNull VFileProperty property) { BasicFileAttributes attrs = getAttributes(true); if (property == VFileProperty.HIDDEN) { return attrs instanceof DosFileAttributes && ((DosFileAttributes)attrs).isHidden() && myFile.getParent() != null || NioFiles.getFileName(myFile).startsWith("."); } if (property == VFileProperty.SYMLINK) return attrs != null && attrs.isSymbolicLink(); if (property == VFileProperty.SPECIAL) return attrs != null && attrs.isOther(); return super.is(property); }