Color () { return switch (this) { case COPY_TO, COPY_FROM -> FileStatus.ADDED.getColor(); case MERGE -> FileStatus.MODIFIED.getColor(); case DELETE -> FileStatus.DELETED.getColor(); case EQUAL, NONE -> JBColor.foreground(); }; }