public interface

ICStatement

implements ICElement
com.pnfsoftware.jeb.core.units.code.asm.decompiler.ast.ICStatement
Known Indirect Subclasses

Class Overview

Tagging interface for AST elements that are statements in a code block.

Summary

Public Methods
abstract ICStatement duplicate()
Deep duplication of the element (i.e.
abstract long getIntermediateOffset()
abstract void setIntermediateOffset(long irOffset)
Called by the code that converts the IR instructions to AST statements
Optional for "artificial" AST elements.
[Expand]
Inherited Methods
From interface com.pnfsoftware.jeb.core.units.code.asm.decompiler.ast.ICElement

Public Methods

public abstract ICStatement duplicate ()

Deep duplication of the element (i.e. sub-elements are duplicated).

Note: ICClass, ICMethod, ICField, ICIdentifier, ICConstant, ICType and ICLabel are not duplicated.

public abstract long getIntermediateOffset ()

public abstract void setIntermediateOffset (long irOffset)

Called by the code that converts the IR instructions to AST statements
Optional for "artificial" AST elements.
The goal is to maintain a relationship between AST elements and the IR instructions that generated them. Ideally, the same relationship is maintained between IR instructions and machine code. This allows clients to establish correspondence between AST (source) and opcodes (assembly).

Parameters
irOffset IR code first instruction offset for the statement