Class BooleanConstant

java.lang.Object
sootup.core.jimple.common.constant.BooleanConstant
All Implemented Interfaces:
EquivTo, Immediate, Value, ComparableConstant<BooleanConstant>, Constant, LogicalConstant<BooleanConstant>, Acceptor<ConstantVisitor>

public class BooleanConstant extends Object implements LogicalConstant<BooleanConstant>, ComparableConstant<BooleanConstant>
BooleanConstant didn't exist in old soot, because in Java byte code boolean values are represented as integer values 1 or 0. However, from the source code we have the information if a constant is boolean or not, adding this class is helpful for setting type of boolean variables.
Author:
Linghui Luo