< prev index next >

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

Print this page

        

*** 19,38 **** * limitations under the License. */ package com.sun.org.apache.bcel.internal.generic; - /** * DUP_X1 - Duplicate top operand stack word and put two down * <PRE>Stack: ..., word2, word1 -&gt; ..., word1, word2, word1</PRE> * ! * @author <A HREF="mailto:markus.dahm@berlin.de">M. Dahm</A> */ public class DUP_X1 extends StackInstruction { public DUP_X1() { ! super(com.sun.org.apache.bcel.internal.Constants.DUP_X1); } /** * Call corresponding visitor method(s). The order is: --- 19,38 ---- * limitations under the License. */ package com.sun.org.apache.bcel.internal.generic; /** * DUP_X1 - Duplicate top operand stack word and put two down * <PRE>Stack: ..., word2, word1 -&gt; ..., word1, word2, word1</PRE> * ! * @version $Id: DUP_X1.java 1747278 2016-06-07 17:28:43Z britter $ */ public class DUP_X1 extends StackInstruction { + public DUP_X1() { ! super(com.sun.org.apache.bcel.internal.Const.DUP_X1); } /** * Call corresponding visitor method(s). The order is:
*** 40,49 **** * 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) { v.visitStackInstruction(this); v.visitDUP_X1(this); } } --- 40,50 ---- * 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 ) { v.visitStackInstruction(this); v.visitDUP_X1(this); } }
< prev index next >