boolean (@NotNull ChronoField chronoField, @NotNull String classQualifiedName) { return switch (classQualifiedName) { case CommonClassNames.JAVA_TIME_LOCAL_TIME -> chronoField.isTimeBased(); case CommonClassNames.JAVA_TIME_LOCAL_DATE_TIME -> chronoField.isTimeBased() || chronoField.isDateBased(); case CommonClassNames.JAVA_TIME_LOCAL_DATE -> chronoField.isDateBased(); case CommonClassNames.JAVA_TIME_OFFSET_TIME -> chronoField.isTimeBased() || chronoField == ChronoField.OFFSET_SECONDS; case CommonClassNames.JAVA_TIME_OFFSET_DATE_TIME -> true; case CommonClassNames.JAVA_TIME_ZONED_DATE_TIME -> true; default -> false; }; }