00001 package de.fub.bytecode.generic;
00002
00003
00004
00005
00006
00007
00008
00009
00010 public class ARRAYLENGTH extends Instruction
00011 implements ExceptionThrower, StackProducer {
00012
00013
00014 public ARRAYLENGTH() {
00015 super(de.fub.bytecode.Constants.ARRAYLENGTH, (short)1);
00016 }
00017
00018
00019
00020
00021
00022
00023
00024
00025 public void accept(Visitor v) {
00026 v.visitExceptionThrower(this);
00027 v.visitStackProducer(this);
00028 v.visitARRAYLENGTH(this);
00029 }
00030
00031
00032 public Class[] getExceptions() {
00033 return new Class[] { de.fub.bytecode.ExceptionConstants.NULL_POINTER_EXCEPTION };
00034 }
00035 }