String (@NotNull String chronoEnumName, @NotNull String methodName) { return switch (methodName) { case "plus" -> switch (chronoEnumName) { case "NANOS" -> "plusNanos"; case "SECONDS" -> "plusSeconds"; case "MINUTES" -> "plusMinutes"; case "HOURS" -> "plusHours"; case "DAYS" -> "plusDays"; case "WEEKS" -> "plusWeeks"; case "MONTHS" -> "plusMonths"; case "YEARS" -> "plusYears"; default -> null; }; case "minus" -> switch (chronoEnumName) { case "NANOS" -> "minusNanos"; case "SECONDS" -> "minusSeconds"; case "MINUTES" -> "minusMinutes"; case "HOURS" -> "minusHours"; case "DAYS" -> "minusDays"; case "WEEKS" -> "minusWeeks"; case "MONTHS" -> "minusMonths"; case "YEARS" -> "minusYears"; default -> null; }; case "get" -> switch (chronoEnumName) { case "NANO_OF_SECOND" -> "getNano"; case "SECOND_OF_MINUTE" -> "getSecond"; case "MINUTE_OF_HOUR" -> "getMinute"; case "HOUR_OF_DAY" -> "getHour"; case "DAY_OF_MONTH" -> "getDayOfMonth"; case "DAY_OF_YEAR" -> "getDayOfYear"; case "MONTH_OF_YEAR" -> "getMonth"; case "YEAR" -> "getYear"; default -> null; }; case "with" -> switch (chronoEnumName) { case "NANO_OF_SECOND" -> "withNano"; case "SECOND_OF_MINUTE" -> "withSecond"; case "MINUTE_OF_HOUR" -> "withMinute"; case "HOUR_OF_DAY" -> "withHour"; case "DAY_OF_MONTH" -> "withDayOfMonth"; case "DAY_OF_YEAR" -> "withDayOfYear"; case "MONTH_OF_YEAR" -> "withMonth"; case "YEAR" -> "withYear"; default -> null; }; default -> null; }; }