Version : Community Edition Version 8.9 (build 43852)
Hi,
i have the following enum:
@JsonClassDescription("Possible actions to perform on slides for robotic arm")
public enum RoboticsSlideAction {
PLACE,
PICK,
@JsonPropertyDescription("This means that in this position, the robotic arm must position itself in front of the position")
NONE
}
With the following method:
private void moveToLoadLock(RoboticsSlideAction slideAction) {
switch (slideAction) {
case PLACE:
...
break;
case PICK:
...
break;
case NONE:
...
break;
}
}
All constants in the enum are used in the switch, it seems to be a false positive. It is maybe due to the fact that i use annotations in constants.