blob: c918da7f14212e9be2781f543d758ddde12afb06 [file] [log] [blame]
/*
* (c) Copyright IBM Corp. 2000, 2001, 2002.
* All Rights Reserved.
*/
package org.eclipse.jdt.internal.debug.eval.ast.instructions;
import org.eclipse.core.runtime.CoreException;
public class Jump extends SimpleInstruction {
protected int fOffset;
public void setOffset(int offset) {
fOffset= offset;
}
/*
* @see Instruction#execute()
*/
public void execute() throws CoreException {
jump(fOffset);
}
/*
* @see Object#toString()
*/
public String toString() {
return InstructionsEvaluationMessages.getString("Jump.jump_1"); //$NON-NLS-1$
}
}