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

INVOKESPECIAL.java

00001 package de.fub.bytecode.generic;
00002 
00003 /** 
00004  * INVOKESPECIAL - Invoke instance method; special handling for superclass, private
00005  * and instance initialization method invocations
00006  *
00007  * <PRE>Stack: ..., objectref, [arg1, [arg2 ...]] -&gt; ...</PRE>
00008  *
00009  * @version $Id: INVOKESPECIAL.java,v 1.1.1.1 2002/01/24 03:44:05 pserver Exp $
00010  * @author  <A HREF="http://www.inf.fu-berlin.de/~dahm">M. Dahm</A>
00011  */
00012 public class INVOKESPECIAL extends InvokeInstruction {
00013   /**
00014    * Empty constructor needed for the Class.newInstance() statement in
00015    * Instruction.readInstruction(). Not to be used otherwise.
00016    */
00017   INVOKESPECIAL() {}  
00018   public INVOKESPECIAL(int index) {
00019     super(INVOKESPECIAL, index);
00020   }  
00021   public Class[] getExceptions() {
00022     Class[] cs = new Class[4 + EXCS_FIELD_AND_METHOD_RESOLUTION.length];
00023 
00024     System.arraycopy(EXCS_FIELD_AND_METHOD_RESOLUTION, 0,
00025              cs, 0, EXCS_FIELD_AND_METHOD_RESOLUTION.length);
00026     cs[EXCS_FIELD_AND_METHOD_RESOLUTION.length-3] = UNSATISFIED_LINK_ERROR;
00027     cs[EXCS_FIELD_AND_METHOD_RESOLUTION.length-2] = ABSTRACT_METHOD_ERROR;
00028     cs[EXCS_FIELD_AND_METHOD_RESOLUTION.length-1] = INCOMPATIBLE_CLASS_CHANGE_ERROR;
00029     cs[EXCS_FIELD_AND_METHOD_RESOLUTION.length]   = NULL_POINTER_EXCEPTION;
00030     return cs;
00031   }  
00032 }

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