Module (@Nullable PsiFile containingFile) { if (containingFile != null) { VirtualFile vFile = containingFile.getVirtualFile(); if (vFile != null) { return findModuleForFile(vFile, containingFile.getProject()); } } return null; }