< prev index next >

src/java.xml/share/classes/com/sun/org/apache/bcel/internal/generic/ILOAD.java

Print this page

        

*** 19,59 **** * limitations under the License. */ package com.sun.org.apache.bcel.internal.generic; - /** * ILOAD - Load int from local variable onto stack * <PRE>Stack: ... -&gt; ..., result</PRE> * ! * @author <A HREF="mailto:markus.dahm@berlin.de">M. Dahm</A> */ public class ILOAD extends LoadInstruction { /** * Empty constructor needed for the Class.newInstance() statement in * Instruction.readInstruction(). Not to be used otherwise. */ ILOAD() { ! super(com.sun.org.apache.bcel.internal.Constants.ILOAD, com.sun.org.apache.bcel.internal.Constants.ILOAD_0); } /** Load int from local variable * @param n index of local variable */ ! public ILOAD(int n) { ! super(com.sun.org.apache.bcel.internal.Constants.ILOAD, com.sun.org.apache.bcel.internal.Constants.ILOAD_0, n); } /** * Call corresponding visitor method(s). The order is: * Call visitor methods of implemented interfaces first, then * call methods according to the class hierarchy in descending order, * i.e., the most specific visitXXX() call comes last. * * @param v Visitor object */ ! public void accept(Visitor v) { super.accept(v); v.visitILOAD(this); } } --- 19,62 ---- * limitations under the License. */ package com.sun.org.apache.bcel.internal.generic; /** * ILOAD - Load int from local variable onto stack * <PRE>Stack: ... -&gt; ..., result</PRE> * ! * @version $Id: ILOAD.java 1747278 2016-06-07 17:28:43Z britter $ */ public class ILOAD extends LoadInstruction { + /** * Empty constructor needed for the Class.newInstance() statement in * Instruction.readInstruction(). Not to be used otherwise. */ ILOAD() { ! super(com.sun.org.apache.bcel.internal.Const.ILOAD, com.sun.org.apache.bcel.internal.Const.ILOAD_0); } + /** Load int from local variable * @param n index of local variable */ ! public ILOAD(final int n) { ! super(com.sun.org.apache.bcel.internal.Const.ILOAD, com.sun.org.apache.bcel.internal.Const.ILOAD_0, n); } + /** * Call corresponding visitor method(s). The order is: * Call visitor methods of implemented interfaces first, then * call methods according to the class hierarchy in descending order, * i.e., the most specific visitXXX() call comes last. * * @param v Visitor object */ ! @Override ! public void accept( final Visitor v ) { super.accept(v); v.visitILOAD(this); } }
< prev index next >