public interface

IJavaDefinition

implements IJavaLeftExpression IJavaStatement
com.pnfsoftware.jeb.core.units.code.java.IJavaDefinition

Class Overview

Java AST interface to represent a definition statement.

Example:

 int x = 123;
 

See Also

Summary

[Expand]
Inherited Constants
From interface com.pnfsoftware.jeb.core.units.code.java.IJavaElement
Public Methods
abstract IJavaDefinition duplicate()
Duplicate this element.
abstract IJavaIdentifier getIdentifier()
Get the identifier being defined.
abstract IJavaType getType()
Get the identifier type.
[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
From interface com.pnfsoftware.jeb.core.units.code.java.IJavaStatement

Public Methods

public abstract IJavaDefinition duplicate ()

Duplicate this element.

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

public abstract IJavaIdentifier getIdentifier ()

Get the identifier being defined.

Returns
  • the identifier, never null

public abstract IJavaType getType ()

Get the identifier type.

Returns
  • the identifier type