static <T, FT> FilterField<T, FT> named(String name, Function<T, FT> func) {
        return new FilterField<T, FT>() {
            @Override
            public FT getValue(T object) {
                return func.apply(object);
            }

            @Override
            public String toString() {
                return name;
            }
        };
    }
Represents a field that can be filtered on.

@param <T> the type the field is on
common/src/main/java/me/lucko/luckperms/common/filter/FilterField.java