ShortenCommandLine (@NotNull String eventDescription) { return switch (eventDescription) { case "args" -> ShortenCommandLine.ARGS_FILE; case "jar" -> ShortenCommandLine.MANIFEST; case "classpath" -> ShortenCommandLine.CLASSPATH_FILE; default -> null; }; }