< prev index next >
src/java.xml/share/classes/com/sun/org/apache/bcel/internal/generic/DUP.java
Print this page
*** 19,38 ****
* limitations under the License.
*/
package com.sun.org.apache.bcel.internal.generic;
-
/**
* DUP - Duplicate top operand stack word
* <PRE>Stack: ..., word -> ..., word, word</PRE>
*
! * @author <A HREF="mailto:markus.dahm@berlin.de">M. Dahm</A>
*/
public class DUP extends StackInstruction implements PushInstruction {
public DUP() {
! super(com.sun.org.apache.bcel.internal.Constants.DUP);
}
/**
* Call corresponding visitor method(s). The order is:
--- 19,38 ----
* limitations under the License.
*/
package com.sun.org.apache.bcel.internal.generic;
/**
* DUP - Duplicate top operand stack word
* <PRE>Stack: ..., word -> ..., word, word</PRE>
*
! * @version $Id: DUP.java 1747278 2016-06-07 17:28:43Z britter $
*/
public class DUP extends StackInstruction implements PushInstruction {
+
public DUP() {
! super(com.sun.org.apache.bcel.internal.Const.DUP);
}
/**
* Call corresponding visitor method(s). The order is:
*** 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
*/
! public void accept(Visitor v) {
v.visitStackProducer(this);
v.visitPushInstruction(this);
v.visitStackInstruction(this);
v.visitDUP(this);
}
--- 40,51 ----
* 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.visitStackProducer(this);
v.visitPushInstruction(this);
v.visitStackInstruction(this);
v.visitDUP(this);
}
< prev index next >