blob: bdd33101255521ce67c42b32485d999d768e6016 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2000, 2011 IBM Corporation and others.
*
* This program and the accompanying materials
* are made available under the terms of the Eclipse Public License 2.0
* which accompanies this distribution, and is available at
* https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
*
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
package org.eclipse.jdt.internal.debug.eval.ast.instructions;
public class Pop extends Instruction {
private int fSize;
/**
* @param start
*/
public Pop(int size) {
fSize = size;
}
/*
* @see Instruction#execute()
*/
@Override
public void execute() {
pop();
}
/*
* @see Object#toString()
*/
@Override
public String toString() {
return InstructionsEvaluationMessages.Pop_pop_1;
}
/*
* (non-Javadoc)
*
* @see
* org.eclipse.jdt.internal.debug.eval.ast.instructions.Instruction#getSize
* ()
*/
@Override
public int getSize() {
return fSize;
}
}