Given this method, does this represent some egregious stylistic or semantic faux pas:
private double translateSlider(int sliderVal) { switch (sliderVal) {
Though the question is old enough it still can be referenced nowdays.
Semantically that is exactly what Java 12 introduced (https://openjdk.java.net/jeps/325), thus, exactly in that simple example provided I can't see any problem or cons.