public interface

IJavaInstanceField

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

Class Overview

Java AST interface to represent an instance field.

This interface should not be confused with IJavaField definition objects.

Examples:

 this.x = 123;
 ^^^^^^
 
 z = someobject.y;
     ^^^^^^^^^^^^
 

See Also

Summary

[Expand]
Inherited Constants
From interface com.pnfsoftware.jeb.core.units.code.java.IJavaElement
Public Methods
abstract IJavaInstanceField duplicate()
Duplicate this element.
abstract IJavaField getField()
Get the field definition object.
abstract String getFieldName()
Get the original field simple name.
abstract String getFieldSignature()
Get the original field jvm name (fully qualified canonical name).
abstract IJavaExpression getInstance()
Get the instance expression, which is the object that contains the field.
abstract boolean isPseudoFieldArrayLength()
abstract void setInstance(IJavaExpression instance)
Set the instance.
[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 IJavaInstanceField duplicate ()

Duplicate this element.

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

public abstract IJavaField getField ()

Get the field definition object.

Returns
  • the field object

public abstract String getFieldName ()

Get the original field simple name.

public abstract String getFieldSignature ()

Get the original field jvm name (fully qualified canonical name).

public abstract IJavaExpression getInstance ()

Get the instance expression, which is the object that contains the field.

Returns
  • the instance expression

public abstract boolean isPseudoFieldArrayLength ()

public abstract void setInstance (IJavaExpression instance)

Set the instance.

Parameters
instance mandatory instance