org.apache.bcel.generic

Class DUP2

public class DUP2 extends StackInstruction implements PushInstruction

DUP2 - Duplicate two top operand stack words
Stack: ..., word2, word1 -> ..., word2, word1, word2, word1
Constructor Summary
DUP2()
Method Summary
voidaccept(Visitor v)
Call corresponding visitor method(s).

Constructor Detail

DUP2

public DUP2()

Method Detail

accept

public void accept(Visitor v)
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.

Parameters: v Visitor object