IntValue¶
@SubclassOptInRequired(markerClass = [KaImplementationDetail::class])
interface IntValue : KaConstantValue
Represents an Int value.
Properties¶
sourcePsi¶
A source element from which the value was created. The PSI might be null for constants from non-source files.
value¶
The value of the constant. The type of value matches its represented class, e.g. BooleanValue.value is a Boolean.
For NullValue and ErrorValue, value contains a special value.
Functions¶
render¶
Renders the value as a representable constant value String, such as 1, 2f, 3u null, "text".