Icon () { return switch (this) { case COPY_TO -> AllIcons.Vcs.Arrow_right; case COPY_FROM -> AllIcons.Vcs.Arrow_left; case MERGE -> AllIcons.Vcs.Not_equal; case EQUAL -> AllIcons.Vcs.Equal; case DELETE -> AllIcons.Vcs.Remove; case NONE -> JBUIScale.scaleIcon(EmptyIcon.create(16)); }; }