public interface

ICompound

implements IStatement
com.pnfsoftware.jeb.core.units.code.java.ICompound
Known Indirect Subclasses

Class Overview

Java AST interface to represent compound statements.

Compound statements contain more statements, laid out in blocks. A block is the simplest type of compound.

Summary

Public Methods
abstract List<? extends IJavaBlock> getBlocks()
Get the list of blocks contained in this compound.
[Expand]
Inherited Methods
From interface com.pnfsoftware.jeb.core.units.code.java.IJavaElement

Public Methods

public abstract List<? extends IJavaBlock> getBlocks ()

Get the list of blocks contained in this compound.

Caveat: if this compound is a block itself, the returned list is not empty, it contains self.

Returns
  • the list of blocks