public interface

IJavaStatement

implements IJavaExpression
com.pnfsoftware.jeb.core.units.code.java.IJavaStatement
Known Indirect Subclasses

Class Overview

Base interface for Java AST elements that represent statements.

See Also
  • INonStatement

Summary

[Expand]
Inherited Constants
From interface com.pnfsoftware.jeb.core.units.code.java.IJavaElement
Public Methods
abstract IJavaStatement duplicate()
Duplicate this element.
abstract int getIntermediateOffset()
abstract void setIntermediateOffset(int 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.java.IJavaElement
From interface com.pnfsoftware.jeb.core.units.code.java.IJavaExpression

Public Methods

public abstract IJavaStatement duplicate ()

Duplicate this element.

Returns
  • a (possibly) duplicated object of the same type

public abstract int getIntermediateOffset ()

public abstract void setIntermediateOffset (int 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