<s> package org . eclipse . jdt . internal . compiler . impl ; public class BooleanConstant extends Constant { private boolean value ; private static final BooleanConstant TRUE = new BooleanConstant ( true ) ; private static final BooleanConstant FALSE = new BooleanConstant ( false ) ; public static Constant fromValue ( boolean value ) { return value ? BooleanConstant . TRUE : BooleanConstant . FALSE ; } private BooleanConstant ( boolean value ) { this . value = value ; } public boolean booleanValue ( ) { return this . value ; } public String stringValue ( ) { return String . valueOf ( this . value ) ; } public String toString ( ) { return "(boolean)" + this . value ; } public int typeID ( ) { return T_boolean ; } public int hashCode ( ) { return this . value ? 1231 : 1237 ; } public boolean equals ( Object obj ) { if ( this == obj ) { return true ; } if ( obj == null ) { return false ; } if ( getClass ( ) != obj . getClass ( ) ) { return false ; } return false ; } } </s>