public interface

ICConstant

implements ICExpression
com.pnfsoftware.jeb.core.units.code.asm.decompiler.ast.ICConstant<T>
Known Indirect Subclasses

Class Overview

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.

Summary

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

Public Methods

public 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. However, if they need to be duplicated, you may use the method duplicate2, if the interface offers it.

public abstract String getOrigin ()

public abstract ICType getType ()

public abstract T getValue ()

public abstract boolean isTrueLike ()

public abstract void setOrigin (String origin)