graceland-platform/src/main/java/io/graceland/filter/FilterBinder.java
public static FilterBinder forInstance(Binder binder, Filter filter) {
        Preconditions.checkNotNull(filter, "Filter cannot be null.");

        return new FilterBinder(binder, filter.getClass(), new FilterProvider(filter));
    }
public static FilterBinder forInstance(Binder binder, Filter filter) {
        Preconditions.checkNotNull(filter, "Filter cannot be null.");

        return new FilterBinder(binder, filter.getClass(), new FilterProvider(filter));
    }
Builds a Filter Binder using a Filter instance rather than a class. It will use a
{@link io.graceland.filter.FilterProvider} as the provider.

@param binder The Binder for the current Guice module.
@param filter The Filter to be bound.
@return A working FilterBinder.