01: package net.sf.jdec.jvminstructions.commandholders;
02:
03: import net.sf.jdec.jvminstructions.commands.ILoad_2Command;
04: import net.sf.jdec.util.ExecutionState;
05:
06: /*
07: * ILoad_0.java Copyright (c) 2006,07 Swaroop Belur
08: *
09: * This program is free software; you can redistribute it and/or
10: * modify it under the terms of the GNU General Public License
11: * as published by the Free Software Foundation; either version 2
12: * of the License, or (at your option) any later version.
13:
14: * This program is distributed in the hope that it will be useful,
15: * but WITHOUT ANY WARRANTY; without even the implied warranty of
16: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17: * GNU General Public License for more details.
18:
19: * You should have received a copy of the GNU General Public License
20: * along with this program; if not, write to the Free Software
21: * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
22: *
23: */
24: public class ILoad_2 extends AbstractInstructionCommandHolder {
25: protected String getName() {
26: return "iload_2";
27: }
28:
29: protected void registerCommand() {
30: ILoad_2Command command = new ILoad_2Command(ExecutionState
31: .getMethodContext());
32: setCommand(command);
33:
34: }
35: }
|