docs: def get_param_type_indexes(self, data, name=None, prev=None):
          """Get from a docstring a parameter type indexes.
          In javadoc style it is after @type.
  
          :param data: string to parse
          :param name: the name of the parameter (Default value = None)
          :param prev: index after the previous element (param or param's description) (Default value = None)
          :returns: start and end indexes of found element else (-1, -1)
            Note: the end index is the index after the last included character or -1 if
            reached the end
          :rtype: tuple
  
          """
          start, end = -1, -1
          stl_type = self.opt['type'][self.style['in']]['name']
          if not prev:
              _, prev = self.get_param_description_indexes(data)
          if prev >= 0:
              if self.style['in'] in self.tagstyles + ['unknown']:
                  idx = self.get_elem_index(data[prev:])
                  if idx >= 0 and data[prev + idx:].startswith(stl_type):
                      idx = prev + idx + len(stl_type)
                      m = re.match(r'\W*(\w+)\W+(\w+)\W*', data[idx:].strip())
                      if m:
                          param = m.group(1).strip()
                          if (name and param == name) or not name:
                              desc = m.group(2)
                              start = data[idx:].find(desc) + idx
                              end = self.get_elem_index(data[start:])
                              if end >= 0:
                                  end += start
  
              if self.style['in'] in ['params', 'unknown'] and (start, end) == (-1, -1):
                  # TODO: manage this
                  pass
  
          return (start, end)