void (final PsiElement element) { final PsiFile psiFile = element.getContainingFile(); if (psiFile != null) { VirtualFile file = psiFile.getVirtualFile(); if (file != null) { addDependency(file.getUrl(), file.getTimeStamp()); } } }