00001 package de.fub.bytecode.generic; 00002 00003 /** 00004 * ARETURN - Return reference from method 00005 * <PRE>Stack: ..., objectref -> <empty></PRE> 00006 * 00007 * @version $Id: ARETURN.java,v 1.1.1.1 2002/01/24 03:41:38 pserver Exp $ 00008 * @author <A HREF="http://www.inf.fu-berlin.de/~dahm">M. Dahm</A> 00009 */ 00010 public class ARETURN extends ReturnInstruction { 00011 /** 00012 * Return reference from method 00013 */ 00014 public ARETURN() { 00015 super(de.fub.bytecode.Constants.ARETURN); 00016 } 00017 /** 00018 * Call corresponding visitor method(s). The order is: 00019 * Call visitor methods of implemented interfaces first, then 00020 * call methods according to the class hierarchy in descending order, 00021 * i.e., the most specific visitXXX() call comes last. 00022 * 00023 * @param v Visitor object 00024 */ 00025 public void accept(Visitor v) { 00026 v.visitExceptionThrower(this); 00027 v.visitTypedInstruction(this); 00028 v.visitStackConsumer(this); 00029 v.visitReturnInstruction(this); 00030 v.visitARETURN(this); 00031 } 00032 }