code: public static Type typeFromString(String type) {
          final PrimitiveType primitive = PrimitiveType.fromName(type);
          if (primitive != null) {
              return primitive.getKeyClass();
          }
          try {
              return loadClassByName(type);
          } catch (Exception e) {
              //LOGGER.error(String.format("Failed to resolve '%s' into class", type), e);
          }
          return null;
      }
docs: private static final Logger LOGGER = LoggerFactory.getLogger(ReflectionUtils.class);