private boolean isValidTemporalAccessor(String text) {
      return switch (text) {
        case CommonClassNames.JAVA_TIME_LOCAL_DATE_TIME -> dateTimeConversionType == DateTimeConversionType.TIME ||
                                                           dateTimeConversionType == DateTimeConversionType.DATE;
        case CommonClassNames.JAVA_TIME_LOCAL_DATE -> dateTimeConversionType == DateTimeConversionType.DATE;
        case CommonClassNames.JAVA_TIME_LOCAL_TIME -> dateTimeConversionType == DateTimeConversionType.TIME;
        case CommonClassNames.JAVA_TIME_OFFSET_TIME -> dateTimeConversionType == DateTimeConversionType.TIME ||
                                                       dateTimeConversionType == DateTimeConversionType.ZONE;
        default -> true;
      };
    }
private boolean isValidTemporalAccessor(String text)