@Override
  public void setSerialFilter(Object objectInputFilter)
      throws InvocationTargetException, IllegalAccessException {
    ObjectInputFilter_Config_setSerialFilter.invoke(ObjectInputFilter_Config, objectInputFilter);
  }
Use reflection to look up the classes and methods for the API.
geode-serialization/src/main/java/org/apache/geode/internal/serialization/filter/ReflectiveObjectInputFilterApi.java