if (((ConstantValue.BooleanConstant)val).getConstant())
public TypedValue integerConstantValue(ConstantValue.IntegerConstant val, Boolean in) { if (in.booleanValue()) { if (val.getConstant().intValue() == 0) return new ConstantValue.BooleanConstant(false); else return new ConstantValue.BooleanConstant(true); } return val; } }