private @NotNull String getPathWithFileName(Object fileName) {
    if (VirtualFile.PROP_NAME.equals(myPropertyName)) {
      // fileName must be String, according to `checkPropertyValuesCorrect` implementation
      VirtualFile parent = myFile.getParent();
      if (parent == null) {
        return (String)fileName;
      }
      return parent.getPath() + "/" + fileName;
    }
    return getPath();
  }
private @NotNull String getPathWithFileName(Object fileName)