Interface SwitchCase
public sealed interface SwitchCase
Models a single case in a 
lookupswitch or
 tableswitch instruction.
 A switch case is composite:
SwitchCase(
    int caseValue,
    Label target
)
- Since:
- 24
- See Also:
- 
Method Summary
- 
Method Details- 
caseValueint caseValue()Returns the integer value corresponding to this case.- Returns:
- the integer value corresponding to this case
 
- 
targetLabel target()Returns the branch target corresponding to this case.- Returns:
- the branch target corresponding to this case
 
- 
ofReturns a new switch case.- Parameters:
- caseValue- the integer value for the case
- target- the branch target for the case
- Returns:
- a new switch case
 
 
-