FilePath (@NotNull Change change) { ContentRevision revision = change.getAfterRevision(); if (revision == null) { revision = change.getBeforeRevision(); assert revision != null; } return revision.getFile(); }