Package com.tonic.analysis.ssa.value
Class StringConstant
- java.lang.Object
-
- com.tonic.analysis.ssa.value.Constant
-
- com.tonic.analysis.ssa.value.StringConstant
-
-
Constructor Summary
Constructors Constructor Description StringConstant(String value)Creates a string constant with the given value.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)IRTypegetType()Gets the IR type of this value.StringgetValue()Gets the value of this constant.inthashCode()StringtoString()-
Methods inherited from class com.tonic.analysis.ssa.value.Constant
isConstant
-
Methods inherited from interface com.tonic.analysis.ssa.value.Value
isNull, isSSAValue
-
-
-
-
Constructor Detail
-
StringConstant
public StringConstant(String value)
Creates a string constant with the given value.- Parameters:
value- the string value
-
-