@Override
  public Object getObjectInputFilter(ObjectInputStream inputStream)
      throws InvocationTargetException, IllegalAccessException {
    return ObjectInputFilter_Config_getObjectInputFilter.invoke(ObjectInputFilter_Config,
        inputStream);
  }
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