00001 package de.fub.bytecode.generic;
00002
00003
00004
00005
00006
00007
00008
00009
00010 public class ANEWARRAY extends CPInstruction
00011 implements LoadClass, AllocationInstruction, ExceptionThrower {
00012
00013
00014
00015
00016 ANEWARRAY() {}
00017 public ANEWARRAY(int index) {
00018 super(ANEWARRAY, index);
00019 }
00020 public Class[] getExceptions(){
00021 Class[] cs = new Class[1 + EXCS_CLASS_AND_INTERFACE_RESOLUTION.length];
00022
00023 System.arraycopy(EXCS_CLASS_AND_INTERFACE_RESOLUTION, 0,
00024 cs, 0, EXCS_CLASS_AND_INTERFACE_RESOLUTION.length);
00025 cs[EXCS_CLASS_AND_INTERFACE_RESOLUTION.length] = NEGATIVE_ARRAY_SIZE_EXCEPTION;
00026 return cs;
00027 }
00028 }