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

MONITOREXIT.java

00001 package de.fub.bytecode.generic;
00002 
00003 /** 
00004  * MONITOREXIT - Exit monitor for object
00005  * <PRE>Stack: ..., objectref -&gt; ...</PRE>
00006  *
00007  * @version $Id: MONITOREXIT.java,v 1.1.1.1 2002/01/24 03:41:41 pserver Exp $
00008  * @author  <A HREF="http://www.inf.fu-berlin.de/~dahm">M. Dahm</A>
00009  */
00010 public class MONITOREXIT extends Instruction
00011   implements ExceptionThrower, StackConsumer {
00012   public MONITOREXIT() {
00013     super(de.fub.bytecode.Constants.MONITOREXIT, (short)1);
00014   }  
00015   /**
00016    * Call corresponding visitor method(s). The order is:
00017    * Call visitor methods of implemented interfaces first, then
00018    * call methods according to the class hierarchy in descending order,
00019    * i.e., the most specific visitXXX() call comes last.
00020    *
00021    * @param v Visitor object
00022    */
00023   public void accept(Visitor v) {
00024     v.visitExceptionThrower(this);
00025     v.visitStackConsumer(this);
00026     v.visitMONITOREXIT(this);
00027   }  
00028   public Class[] getExceptions() {
00029     return new Class[] { de.fub.bytecode.ExceptionConstants.NULL_POINTER_EXCEPTION };
00030   }  
00031 }

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