com.pnfsoftware.jeb.core.units.code.asm.decompiler.ast.ICConstant<T> |
Known Indirect Subclasses |
Top-level C AST interface to represent a literal or constant value. Constants represent immutable
numbers and strings. Refer to the sub-interfaces. Constant objects are created and retrieved by a
factory
.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract ICConstant<T> |
duplicate()
This method returns the object itself: constants are generally immutable and do not need to
be duplicated in the general case.
| ||||||||||
abstract String | getOrigin() | ||||||||||
abstract ICType | getType() | ||||||||||
abstract T | getValue() | ||||||||||
abstract boolean | isTrueLike() | ||||||||||
abstract void | setOrigin(String origin) |
[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
|
This method returns the object itself: constants are generally immutable and do not need to
be duplicated in the general case. However, if they need to be duplicated, you may use the
method duplicate2
, if the interface offers it.