docs: final void checkReturnType(TypeElement autoValueClass, ExecutableElement getter) {
      TypeMirror type = getter.getReturnType();
      if (type.getKind() == TypeKind.ARRAY) {
        TypeMirror componentType = ((ArrayType) type).getComponentType();
        if (componentType.getKind().isPrimitive()) {
          warnAboutPrimitiveArrays(autoValueClass, getter);
        } else {
          errorReporter.reportError(
              "An @"
                  + simpleAnnotationName
                  + " class cannot define an array-valued property unless it is a primitive array",
              getter);
        }
      }
    }