Main Page   Packages   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members  

INVOKESTATIC.java

00001 package de.fub.bytecode.generic;
00002 
00003 /** 
00004  * INVOKESTATIC - Invoke a class (static) method
00005  *
00006  * <PRE>Stack: ..., [arg1, [arg2 ...]] -&gt; ...</PRE>
00007  *
00008  * @version $Id: INVOKESTATIC.java,v 1.1.1.1 2002/01/24 03:44:05 pserver Exp $
00009  * @author  <A HREF="http://www.inf.fu-berlin.de/~dahm">M. Dahm</A>
00010  */
00011 public class INVOKESTATIC extends InvokeInstruction {
00012   /**
00013    * Empty constructor needed for the Class.newInstance() statement in
00014    * Instruction.readInstruction(). Not to be used otherwise.
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 }

Generated at Thu Feb 7 06:47:54 2002 for Bandera by doxygen1.2.10 written by Dimitri van Heesch, © 1997-2001