docs: public ThriftType getThriftType(Type javaType)
              throws IllegalArgumentException
      {
          ThriftType thriftType = getThriftTypeFromCache(javaType);
          if (thriftType == null) {
              thriftType = buildThriftType(javaType);
          }
          return thriftType;
      }