Inspectopedia
 
2024.3

Call methods with unsupported 'java.time.temporal.ChronoUnit' and 'java.time.temporal.ChronoField'

Warning
New
Last modified: 03 December 2024

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:

New in 2023.2