6307187: clean up code for -Xlint:options

Introduce common code for handling one-of and any-of options

Reviewed-by: mcimadamore
5 files changed