@Override
  public Object createFilter(String pattern)
      throws InvocationTargetException, IllegalAccessException {
    return ObjectInputFilter_Config_createFilter.invoke(null, pattern);
  }
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