class FreeIdFilteredIdGenerator extends IdGenerator.Delegate {

    @Override
    public void freeId( long id )
    {
        if ( freeIdCondition.getAsBoolean() )
        {
            super.freeId( id );
        }
    }

      FreeIdFilteredIdGenerator( IdGenerator delegate, BooleanSupplier freeIdCondition );

}