docs: private boolean isNullOrMatchingType(final Object injectedValue, final Field field) {
  
          if (injectedValue == null) {
              // null is always type-compatible
              return true;
          }
  
          final Class<?> fieldType = field.getType();
          final Class<?> valueType = injectedValue.getClass();
  
          if (fieldType.isPrimitive()) {
              return fieldType == primitiveTypeFor(valueType);
          }
          return fieldType.isAssignableFrom(valueType);
      }