blob: 813d00ec72c937b16e4ca23e2914f35e738a00de [file] [log] [blame]
package org.eclipse.jdt.internal.debug.eval.ast.instructions;
/*
* (c) Copyright IBM Corp. 2000, 2001.
* All Rights Reserved.
*/
/**
* Pushes a boolean literal onto the stack.
*/
public class PushBoolean extends SimpleInstruction {
private boolean fValue;
public PushBoolean(boolean value) {
fValue= value;
}
public void execute() {
pushNewValue(fValue);
}
public String toString() {
return InstructionsEvaluationMessages.getString("PushBoolean.push__1") + fValue; //$NON-NLS-1$
}
}