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 * LLOAD - Load long from local variable |
25 * LLOAD - Load long from local variable |
27 *<PRE>Stack ... -> ..., result.word1, result.word2</PRE> |
26 *<PRE>Stack ... -> ..., result.word1, result.word2</PRE> |
28 * |
27 * |
29 * @author <A HREF="mailto:markus.dahm@berlin.de">M. Dahm</A> |
28 * @version $Id: LLOAD.java 1747278 2016-06-07 17:28:43Z britter $ |
30 */ |
29 */ |
31 public class LLOAD extends LoadInstruction { |
30 public class LLOAD extends LoadInstruction { |
32 /** |
|
33 * Empty constructor needed for the Class.newInstance() statement in |
|
34 * Instruction.readInstruction(). Not to be used otherwise. |
|
35 */ |
|
36 LLOAD() { |
|
37 super(com.sun.org.apache.bcel.internal.Constants.LLOAD, com.sun.org.apache.bcel.internal.Constants.LLOAD_0); |
|
38 } |
|
39 |
31 |
40 public LLOAD(int n) { |
32 /** |
41 super(com.sun.org.apache.bcel.internal.Constants.LLOAD, com.sun.org.apache.bcel.internal.Constants.LLOAD_0, n); |
33 * Empty constructor needed for the Class.newInstance() statement in |
42 } |
34 * Instruction.readInstruction(). Not to be used otherwise. |
|
35 */ |
|
36 LLOAD() { |
|
37 super(com.sun.org.apache.bcel.internal.Const.LLOAD, com.sun.org.apache.bcel.internal.Const.LLOAD_0); |
|
38 } |
43 |
39 |
44 /** |
40 |
45 * Call corresponding visitor method(s). The order is: |
41 public LLOAD(final int n) { |
46 * Call visitor methods of implemented interfaces first, then |
42 super(com.sun.org.apache.bcel.internal.Const.LLOAD, com.sun.org.apache.bcel.internal.Const.LLOAD_0, n); |
47 * call methods according to the class hierarchy in descending order, |
43 } |
48 * i.e., the most specific visitXXX() call comes last. |
44 |
49 * |
45 |
50 * @param v Visitor object |
46 /** |
51 */ |
47 * Call corresponding visitor method(s). The order is: |
52 public void accept(Visitor v) { |
48 * Call visitor methods of implemented interfaces first, then |
53 super.accept(v); |
49 * call methods according to the class hierarchy in descending order, |
54 v.visitLLOAD(this); |
50 * i.e., the most specific visitXXX() call comes last. |
55 } |
51 * |
|
52 * @param v Visitor object |
|
53 */ |
|
54 @Override |
|
55 public void accept( final Visitor v ) { |
|
56 super.accept(v); |
|
57 v.visitLLOAD(this); |
|
58 } |
56 } |
59 } |