19 * limitations under the License. |
19 * limitations under the License. |
20 */ |
20 */ |
21 |
21 |
22 package com.sun.org.apache.bcel.internal.generic; |
22 package com.sun.org.apache.bcel.internal.generic; |
23 |
23 |
24 |
|
25 /** |
24 /** |
26 * DUP2_X2 - Duplicate two top operand stack words and put four down |
25 * DUP2_X2 - Duplicate two top operand stack words and put four down |
27 * <PRE>Stack: ..., word4, word3, word2, word1 -> ..., word2, word1, word4, word3, word2, word1</PRE> |
26 * <PRE>Stack: ..., word4, word3, word2, word1 -> ..., word2, word1, word4, word3, word2, word1</PRE> |
28 * |
27 * |
29 * @author <A HREF="mailto:markus.dahm@berlin.de">M. Dahm</A> |
28 * @version $Id: DUP2_X2.java 1747278 2016-06-07 17:28:43Z britter $ |
30 */ |
29 */ |
31 public class DUP2_X2 extends StackInstruction { |
30 public class DUP2_X2 extends StackInstruction { |
32 public DUP2_X2() { |
31 |
33 super(com.sun.org.apache.bcel.internal.Constants.DUP2_X2); |
32 public DUP2_X2() { |
34 } |
33 super(com.sun.org.apache.bcel.internal.Const.DUP2_X2); |
|
34 } |
35 |
35 |
36 |
36 |
37 /** |
37 /** |
38 * Call corresponding visitor method(s). The order is: |
38 * Call corresponding visitor method(s). The order is: |
39 * Call visitor methods of implemented interfaces first, then |
39 * Call visitor methods of implemented interfaces first, then |
40 * call methods according to the class hierarchy in descending order, |
40 * call methods according to the class hierarchy in descending order, |
41 * i.e., the most specific visitXXX() call comes last. |
41 * i.e., the most specific visitXXX() call comes last. |
42 * |
42 * |
43 * @param v Visitor object |
43 * @param v Visitor object |
44 */ |
44 */ |
45 public void accept(Visitor v) { |
45 @Override |
46 v.visitStackInstruction(this); |
46 public void accept( final Visitor v ) { |
47 v.visitDUP2_X2(this); |
47 v.visitStackInstruction(this); |
48 } |
48 v.visitDUP2_X2(this); |
|
49 } |
49 } |
50 } |