# Interface: com.pnfsoftware.jeb.core.units.code.asm.decompiler.ast.ICSwitchStm
- Super interfaces: `com.pnfsoftware.jeb.core.units.code.asm.decompiler.ast.ICConditionalStatement`, `com.pnfsoftware.jeb.core.units.code.asm.decompiler.ast.ICGenericBreakable`

C AST interface to represent `switch` statements.

## Default Method: addCase
- parameter: `key1`, type: `long`
- parameter: `key2`, type: `long`
- parameter: `key3`, type: `long`
- parameter: `b`, type: `com.pnfsoftware.jeb.core.units.code.asm.decompiler.ast.ICBlock`


## Default Method: addCase
- parameter: `key1`, type: `long`
- parameter: `key2`, type: `long`
- parameter: `b`, type: `com.pnfsoftware.jeb.core.units.code.asm.decompiler.ast.ICBlock`


## Default Method: addCase
- parameter: `key`, type: `long`
- parameter: `b`, type: `com.pnfsoftware.jeb.core.units.code.asm.decompiler.ast.ICBlock`


## Default Method: addCase
- parameter: `key`, type: `java.math.BigInteger`
- parameter: `b`, type: `com.pnfsoftware.jeb.core.units.code.asm.decompiler.ast.ICBlock`


## Abstract Method: addCase
- parameter: `keys`, type: `java.util.Collection<java.math.BigInteger>`
- parameter: `b`, type: `com.pnfsoftware.jeb.core.units.code.asm.decompiler.ast.ICBlock`


## Abstract Method: duplicate
- return type: `com.pnfsoftware.jeb.core.units.code.asm.decompiler.ast.ICSwitchStm`


## Abstract Method: getCaseBodies
- return type: `java.util.List<com.pnfsoftware.jeb.core.units.code.asm.decompiler.ast.ICBlock>`


## Abstract Method: getCaseBody
- parameter: `key`, type: `java.math.BigInteger`
- return type: `com.pnfsoftware.jeb.core.units.code.asm.decompiler.ast.ICBlock`


## Abstract Method: getCaseKeys
- return type: `java.util.Set<java.math.BigInteger>`


## Abstract Method: getKeysForBlock
- parameter: `b`, type: `com.pnfsoftware.jeb.core.units.code.asm.decompiler.ast.ICBlock`
- return type: `java.util.List<java.math.BigInteger>`


## Abstract Method: getSwitchedExpression
- return type: `com.pnfsoftware.jeb.core.units.code.asm.decompiler.ast.ICExpression`


## Abstract Method: removeCasesFromBlock
- parameter: `b`, type: `com.pnfsoftware.jeb.core.units.code.asm.decompiler.ast.ICBlock`
- parameter: `keys`, type: `java.util.Collection<java.math.BigInteger>`
- return type: `java.util.Collection<java.math.BigInteger>`

Description: Remove cases from a specified case\-block.
parameter: b: case\-block
parameter: keys: a collection of keys; null means remove all the keys \(as well as the case\-block\)
return: the list of cases actually removed; null if the case\-block does not exist

## Abstract Method: setSwitchedExpression
- parameter: `value`, type: `com.pnfsoftware.jeb.core.units.code.asm.decompiler.ast.ICExpression`


