00001 package de.fub.bytecode.generic; 00002 00003 /** 00004 * ARRAYLENGTH - Get length of array 00005 * <PRE>Stack: ..., arrayref -> ..., length</PRE> 00006 * 00007 * @version $Id: ARRAYLENGTH.java,v 1.1.1.1 2002/01/24 03:44:06 pserver Exp $ 00008 * @author <A HREF="http://www.inf.fu-berlin.de/~dahm">M. Dahm</A> 00009 */ 00010 public class ARRAYLENGTH extends Instruction implements ExceptionThrower{ 00011 public ARRAYLENGTH() { 00012 super(ARRAYLENGTH, (short)1); 00013 } 00014 public Class[] getExceptions() { 00015 return new Class[] { NULL_POINTER_EXCEPTION }; 00016 } 00017 }