boolean (@NotNull SelectInContext context) { PsiFileSystemItem psiFile = getContextPsiFile(context); if (SelectInProjectViewImplKt.getLOG().isDebugEnabled()) { SelectInProjectViewImplKt.getLOG().debug("PSI file for context " + context + " is " + psiFile); } if (psiFile == null) { return false; } boolean canSelect = canSelect(psiFile); if (SelectInProjectViewImplKt.getLOG().isDebugEnabled()) { SelectInProjectViewImplKt.getLOG().debug("Can " + (canSelect ? "select" : "NOT select") + " file " + psiFile + " in " + this); } return canSelect; }