Fix detection of primitive boolean parameter type on set method