String (@NotNull FilePatch patch, boolean beforePath) { if (beforePath) { return patch.isNewFile() ? DEV_NULL : A_PREFIX + patch.getBeforeName(); } else { return patch.isDeletedFile() ? DEV_NULL : B_PREFIX + patch.getAfterName(); } }