public interface

IJavaIdentifierManager

com.pnfsoftware.jeb.core.units.code.java.IJavaIdentifierManager

Class Overview

A manager of IJavaIdentifier (and IJavaDefinition). Each IJavaMethod has its own identifier factory.

Summary

Public Methods
abstract IJavaDefinition createDefinition(IJavaType type, String name)
Create a new identifier and its definition.
abstract IJavaDefinition getDefinition(int id)
Retrieve a definition by id.
abstract IJavaDefinition getDefinition(IJavaIdentifier ident)
Retrieve the definition associated with the provided variable.
abstract IJavaIdentifier getIdentifier(String name)
Retrieve an identifier by name.
abstract Collection<IJavaIdentifier> getIdentifiers()
Retrieve a read-only collection of AST identifier objects created and managed by this manager.

Public Methods

public abstract IJavaDefinition createDefinition (IJavaType type, String name)

Create a new identifier and its definition. Identifiers created via this method are not mapped to any underlying (lower-level) objects, such as IR variables or machine registers.

public abstract IJavaDefinition getDefinition (int id)

Retrieve a definition by id.

public abstract IJavaDefinition getDefinition (IJavaIdentifier ident)

Retrieve the definition associated with the provided variable.

public abstract IJavaIdentifier getIdentifier (String name)

Retrieve an identifier by name.

public abstract Collection<IJavaIdentifier> getIdentifiers ()

Retrieve a read-only collection of AST identifier objects created and managed by this manager.