@Override
  public ObjectInputFilterApi createObjectInputFilterApi() {
    try {
      if (isJavaVersionAtLeast(JAVA_9)) {
        return new Java9ReflectiveObjectInputFilterApi(JAVA_IO);
      }
      if (isJavaVersionAtLeast(JAVA_1_8)) {
        return new ReflectiveObjectInputFilterApi(SUN_MISC);
      }
    } catch (ClassNotFoundException | NoSuchMethodException e) {
      throwUnsupportedOperationException(e);
    }
    throwUnsupportedOperationException();
    return null; // unreachable
  }
Implementation of {@code ObjectInputFilterApiFactory} that creates a reflection based
{@code ObjectInputFilterApi}.
geode-serialization/src/main/java/org/apache/geode/internal/serialization/filter/ReflectiveObjectInputFilterApiFactory.java