code: protected T getTypedFilter(Filter filter) {
      if (isFilterAProperSublcass(filter)) {
        return unchecked(filter);
      }
      throw new IllegalStateException(
          String.format(
              "FilterAdapter %s cannot operate on a filter of type %s",
              getClass().getCanonicalName(),
              filter.getClass().getCanonicalName()));
    }
docs: <p>getTypedFilter.</p>
  
  @param filter a {@link org.apache.hadoop.hbase.filter.Filter} object.
  @return a T object.