org.apache.bcel.generic

Class SWAP

public class SWAP extends StackInstruction implements StackConsumer, StackProducer

SWAP - Swa top operand stack word
Stack: ..., word2, word1 -> ..., word1, word2
Constructor Summary
SWAP()
Method Summary
voidaccept(Visitor v)
Call corresponding visitor method(s).

Constructor Detail

SWAP

public SWAP()

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