String (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(); }