01: /*******************************************************************************
02: * Copyright (c) 2000, 2005 IBM Corporation and others.
03: * All rights reserved. This program and the accompanying materials
04: * are made available under the terms of the Eclipse Public License v1.0
05: * which accompanies this distribution, and is available at
06: * http://www.eclipse.org/legal/epl-v10.html
07: *
08: * Contributors:
09: * IBM Corporation - initial API and implementation
10: *******************************************************************************/package org.eclipse.jdt.internal.debug.eval.ast.instructions;
11:
12: /**
13: * Pushes a long literal onto the stack.
14: */
15: public class PushLong extends SimpleInstruction {
16:
17: private long fValue;
18:
19: public PushLong(long value) {
20: fValue = value;
21: }
22:
23: public void execute() {
24: pushNewValue(fValue);
25: }
26:
27: public String toString() {
28: return InstructionsEvaluationMessages.PushLong_push__1 + fValue;
29: }
30:
31: }
|