void () { if ( getSettings() instanceof ProjectViewSettings projectViewSettings && projectViewSettings.getSortKey() != NodeSortKey.BY_TIME_DESCENDING && projectViewSettings.getSortKey() != NodeSortKey.BY_TIME_ASCENDING ) { timestamp = 0; // skip for performance reasons return; } var attributes = getFileAttributes(getVirtualFileForNodeOrItsPSI(this)); timestamp = attributes == null ? 0 : attributes.lastModifiedTime().toMillis(); }