com.pnfsoftware.jeb.core.units.code.java.IJavaIdentifierManager |
A manager of IJavaIdentifier
(and IJavaDefinition
). Each IJavaMethod
has
its own identifier factory.
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.
|
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.
Retrieve the definition associated with the provided variable.
Retrieve a read-only collection of AST identifier objects created and managed by this manager.