00001 package de.fub.bytecode.generic; 00002 00003 /** 00004 * Super class for instructions dealing with array access such as IALOAD. 00005 * 00006 * @version $Id: ArrayInstruction.java,v 1.1.1.1 2002/01/24 03:44:04 pserver Exp $ 00007 * @author <A HREF="http://www.inf.fu-berlin.de/~dahm">M. Dahm</A> 00008 */ 00009 public abstract class ArrayInstruction extends Instruction implements ExceptionThrower { 00010 /** 00011 * Empty constructor needed for the Class.newInstance() statement in 00012 * Instruction.readInstruction(). Not to be used otherwise. 00013 */ 00014 ArrayInstruction() {} 00015 /** 00016 * @param tag opcode of instruction 00017 */ 00018 protected ArrayInstruction(short tag) { 00019 super(tag, (short)1); 00020 } 00021 public Class[] getExceptions() { return EXCS_ARRAY_EXCEPTION; } 00022 }