String (@NotNull Project project, @NotNull VirtualFile file) { if (!(file instanceof TestDataGroupVirtualFile)) { return null; } // TestDataGroupVirtualFile.getName() implementation is fine return file.getName(); }