00001 package de.fub.bytecode.generic;
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011 public class INVOKESTATIC extends InvokeInstruction {
00012
00013
00014
00015
00016 INVOKESTATIC() {}
00017 public INVOKESTATIC(int index) {
00018 super(INVOKESTATIC, index);
00019 }
00020 public Class[] getExceptions(){
00021 Class[] cs = new Class[2 + EXCS_FIELD_AND_METHOD_RESOLUTION.length];
00022
00023 System.arraycopy(EXCS_FIELD_AND_METHOD_RESOLUTION, 0,
00024 cs, 0, EXCS_FIELD_AND_METHOD_RESOLUTION.length);
00025 cs[EXCS_FIELD_AND_METHOD_RESOLUTION.length-3] = UNSATISFIED_LINK_ERROR;
00026 cs[EXCS_FIELD_AND_METHOD_RESOLUTION.length-1] = INCOMPATIBLE_CLASS_CHANGE_ERROR;
00027
00028 return cs;
00029 }
00030 }