public Collection<FileTargetContext> getTargetContexts() {
    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);
  }
public Collection<FileTargetContext> getTargetContexts()