docs: private JavaType toJavaType(Type type) {
  		JavaType typeToFind;
      	if (type instanceof JavaType) {
      		typeToFind = (JavaType) type;
      	} else {
      		typeToFind = _mapper.constructType(type);
      	}
  		return typeToFind;
  	}