package bluej.parser.entity;
import bluej.debugger.gentype.JavaPrimitiveType;
| A value entity with a compile-time constant boolean value
|
| @author Davin McCall
|
public class ConstantBoolValue
extends ValueEntity{
private boolean value;
public ConstantBoolValue(boolean value)
{
super(JavaPrimitiveType.getBoolean());
this.value = value;
}
@Override
public boolean hasConstantBooleanValue()
{
return true;
}
@Override
public boolean getConstantBooleanValue()
{
return value;
}
}
top,
use,
map,
class ConstantBoolValue
. ConstantBoolValue
. hasConstantBooleanValue
. getConstantBooleanValue
33 neLoCode
+ 2 LoComm