public interface

IJavaIdentifier

implements IJavaLeftExpression INonStatement
com.pnfsoftware.jeb.core.units.code.java.IJavaIdentifier

Class Overview

Java AST interface to represent a Java identifier, or variable.

Summary

Public Methods
abstract String getDebugName()
Get the identifier's debug name, if any was provided.
abstract IJavaDefinition getDefinition()
Get this identifier's definition statement.
abstract String getName()
Get the identifier original name.
abstract IJavaType getType()
Get this identifier's type.
[Expand]
Inherited Methods
From interface com.pnfsoftware.jeb.core.units.code.java.IJavaElement

Public Methods

public abstract String getDebugName ()

Get the identifier's debug name, if any was provided.

In order to retrieve the current (effective) name, use getIdentifierName(IJavaIdentifier).

Returns
  • the debug name, null if none was provided

public abstract IJavaDefinition getDefinition ()

Get this identifier's definition statement.

public abstract String getName ()

Get the identifier original name.

In order to retrieve the current (effective) name, use getIdentifierName(IJavaIdentifier).

Returns
  • the original (not necessarily current) name, never null

public abstract IJavaType getType ()

Get this identifier's type.