Collection<FileTargetContext> () { PsiFile file = getContainingFile(); if (file == null) return emptyList(); Collection<FileTargetContext> customizationContexts = getTargetCustomizationContexts(file); Collection<FileTargetContext> targetContexts; if (customizationContexts != null) { targetContexts = customizationContexts; } else { targetContexts = getTargetContextByFile(file); } // CreateFilePathFix and CreateDirectoryPathFix support only local files return filterLocalFsContexts(targetContexts); }