actually, using the constant does generate the warning, but using the method does not.