public interface

IJavaArrayElt

implements IJavaLeftExpression
com.pnfsoftware.jeb.core.units.code.java.IJavaArrayElt

Class Overview

Java AST interface to represent the element of an array.

Example:

 array[index] = ...
 ^^^^^^^^^^^^
 

Summary

[Expand]
Inherited Constants
From interface com.pnfsoftware.jeb.core.units.code.java.IJavaElement
Public Methods
abstract IJavaArrayElt duplicate()
Duplicate this element.
abstract IJavaExpression getArray()
Get the array expression.
abstract IJavaExpression getIndex()
Get the index expression.
abstract void setArray(IJavaExpression array)
Set the array expression.
abstract void setIndex(IJavaExpression index)
Set the index expression.
[Expand]
Inherited Methods
From interface com.pnfsoftware.jeb.core.units.code.java.IJavaElement
From interface com.pnfsoftware.jeb.core.units.code.java.IJavaExpression
From interface com.pnfsoftware.jeb.core.units.code.java.IJavaLeftExpression

Public Methods

public abstract IJavaArrayElt duplicate ()

Duplicate this element.

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

public abstract IJavaExpression getArray ()

Get the array expression.

Returns
  • the array expression

public abstract IJavaExpression getIndex ()

Get the index expression.

Returns
  • the index expression

public abstract void setArray (IJavaExpression array)

Set the array expression.

Parameters
array mandatory array expression

public abstract void setIndex (IJavaExpression index)

Set the index expression.

Parameters
index mandatory index expression