Top Description Constructors Methods
com.sun.org.apache.bcel.internal.generic

public Class DUP

extends StackInstruction
implements PushInstruction
Class Inheritance
All Implemented Interfaces
com.sun.org.apache.bcel.internal.generic.PushInstruction, com.sun.org.apache.bcel.internal.generic.StackProducer

DUP - Duplicate top operand stack word
Stack: ..., word -> ..., word, word

Constructor Summary

AccessConstructor and Description
public
DUP()

Method Summary

Modifier and TypeMethod and Description
public void
accept(final Visitor
Visitor object
v
)

Implements abstract com.sun.org.apache.bcel.internal.generic.Instruction.accept.

Call corresponding visitor method(s).
Inherited from com.sun.org.apache.bcel.internal.generic.StackInstruction:
getType

Constructor Detail

DUPback to summary
public DUP()

Method Detail

acceptback to summary
public void accept(final Visitor v)

Implements abstract com.sun.org.apache.bcel.internal.generic.Instruction.accept.

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

Visitor object

Annotations
@Override