00001 package de.fub.bytecode.generic; 00002 00003 /** 00004 * BALOAD - Load byte or boolean from array 00005 * <PRE>Stack: ..., arrayref, index -> ..., value</PRE> 00006 * 00007 * @version $Id: BALOAD.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 BALOAD extends ArrayInstruction implements StackProducer { 00011 /** Load byte or boolean from array 00012 */ 00013 public BALOAD() { 00014 super(de.fub.bytecode.Constants.BALOAD); 00015 } 00016 /** 00017 * Call corresponding visitor method(s). The order is: 00018 * Call visitor methods of implemented interfaces first, then 00019 * call methods according to the class hierarchy in descending order, 00020 * i.e., the most specific visitXXX() call comes last. 00021 * 00022 * @param v Visitor object 00023 */ 00024 public void accept(Visitor v) { 00025 v.visitStackProducer(this); 00026 v.visitExceptionThrower(this); 00027 v.visitTypedInstruction(this); 00028 v.visitArrayInstruction(this); 00029 v.visitBALOAD(this); 00030 } 00031 }