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