public interface

ICConditionalStatement

implements ICCompound
com.pnfsoftware.jeb.core.units.code.asm.decompiler.ast.ICConditionalStatement
Known Indirect Subclasses

Summary

Public Methods
abstract List<? extends ICBlock> getBlocks()
Return a copy of the CBlock conditional blocks with default block (if it exists).
abstract List<? extends ICBlock> getConditionalBlocks()
Return a copy of the CBlock conditional blocks.
abstract ICBlock getDefaultBlock()
Return the default block, or null if no default block is defined
abstract boolean hasDefaultBlock()
Determine whether the conditional statement has a default block.
abstract int size()
Return the number of blocks (including default block).
abstract int sizeWithoutDefault()
Return the number of blocks, NOT counting the default block if there is one.
[Expand]
Inherited Methods
From interface com.pnfsoftware.jeb.core.units.code.asm.decompiler.ast.ICCompound
From interface com.pnfsoftware.jeb.core.units.code.asm.decompiler.ast.ICElement
From interface com.pnfsoftware.jeb.core.units.code.asm.decompiler.ast.ICStatement

Public Methods

public abstract List<? extends ICBlock> getBlocks ()

Return a copy of the CBlock conditional blocks with default block (if it exists).

public abstract List<? extends ICBlock> getConditionalBlocks ()

Return a copy of the CBlock conditional blocks. The default block is not included.

public abstract ICBlock getDefaultBlock ()

Return the default block, or null if no default block is defined

public abstract boolean hasDefaultBlock ()

Determine whether the conditional statement has a default block.

Returns
  • true if the conditional statement has an else block

public abstract int size ()

Return the number of blocks (including default block).

Returns
  • the number of blocks

public abstract int sizeWithoutDefault ()

Return the number of blocks, NOT counting the default block if there is one.