Reports java.time method calls (get(), getLong(), with(), plus(), minus()) with unsupported java.time.temporal.ChronoField or java.time.temporal.ChronoUnit enum constants as arguments. Such calls will throw a UnsupportedTemporalTypeException at runtime.

Example:


LocalTime localTime = LocalTime.now();
int year = localTime.get(ChronoField.YEAR);

New in 2023.2