SONARJAVA-602 False positive on S1206 : should not check enums