public static <T> RuntimeTypeAdapterFactory<T> of(
      Class<T> baseType, String typeFieldName, boolean maintainType) {
    return new RuntimeTypeAdapterFactory<>(baseType, typeFieldName, maintainType);
  }
Creates a new runtime type adapter using for {@code baseType} using {@code typeFieldName} as
the type field name. Type field names are case sensitive.

@param maintainType true if the type field should be included in deserialized objects
db-scheduler/src/main/java/com/github/kagkarlsson/scheduler/serializer/gson/RuntimeTypeAdapterFactory.java