com.pnfsoftware.jeb.core.units.code.asm.decompiler.ast.ICIdentifier |
C AST interface to represent an identifier, or variable.
Example:
int someVariable = 3; ^^^^^^^^^^^^C variable.
Refer to CIdentifierClass
for the different types of identifiers.
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
int | FLAG_MEANINGFUL_NAME |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract ICIdentifier |
duplicate()
Deep duplication of the element.
| ||||||||||
abstract void | generate(COutputSink out, boolean definition) | ||||||||||
abstract Long |
getAddress()
Get the native address associated with this identifier.
| ||||||||||
abstract int | getFlags() | ||||||||||
abstract int |
getId()
Get a unique identifier associated with the identifier.
| ||||||||||
abstract CIdentifierClass |
getIdentifierClass()
Get the identifier class.
| ||||||||||
abstract Integer | getMethodIndex() | ||||||||||
abstract String |
getName()
Get the current name given to the identifier.
| ||||||||||
abstract String |
getOriginalName()
Get the original name given to the identifier.
| ||||||||||
abstract Integer | getParameterIndex() | ||||||||||
abstract ICType |
getType()
Get the identifier type.
| ||||||||||
abstract boolean | isParameter() | ||||||||||
abstract void | setFlags(int flags) | ||||||||||
abstract boolean | setName(String name, IDynamicContentManager dcm) | ||||||||||
abstract boolean | setName(String name) |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From interface
com.pnfsoftware.jeb.core.units.code.asm.decompiler.ast.ICElement
| |||||||||||
From interface
com.pnfsoftware.jeb.core.units.code.asm.decompiler.ast.ICExpression
| |||||||||||
From interface
com.pnfsoftware.jeb.core.units.code.asm.decompiler.ast.ICLeftExpression
|
Deep duplication of the element. Sub-elements are duplicated.
Note: ICClass
, ICMethod
, ICField
, ICIdentifier
,
ICConstant
, ICType
and ICLabel
are not duplicated.
Get the native address associated with this identifier.
The address depends of the CIdentifierClass
of the identifier:
Get a unique identifier associated with the identifier.
Get the current name given to the identifier.
Get the original name given to the identifier.