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 * FMUL - Multiply floats |
25 * FMUL - Multiply floats |
27 * <PRE>Stack: ..., value1, value2 -> result</PRE> |
26 * <PRE>Stack: ..., value1, value2 -> result</PRE> |
28 * |
27 * |
29 * @author <A HREF="mailto:markus.dahm@berlin.de">M. Dahm</A> |
28 * @version $Id: FMUL.java 1747278 2016-06-07 17:28:43Z britter $ |
30 */ |
29 */ |
31 public class FMUL extends ArithmeticInstruction { |
30 public class FMUL extends ArithmeticInstruction { |
32 /** Multiply floats |
31 |
33 */ |
32 /** Multiply floats |
34 public FMUL() { |
33 */ |
35 super(com.sun.org.apache.bcel.internal.Constants.FMUL); |
34 public FMUL() { |
36 } |
35 super(com.sun.org.apache.bcel.internal.Const.FMUL); |
|
36 } |
37 |
37 |
38 |
38 |
39 /** |
39 /** |
40 * Call corresponding visitor method(s). The order is: |
40 * Call corresponding visitor method(s). The order is: |
41 * Call visitor methods of implemented interfaces first, then |
41 * Call visitor methods of implemented interfaces first, then |
42 * call methods according to the class hierarchy in descending order, |
42 * call methods according to the class hierarchy in descending order, |
43 * i.e., the most specific visitXXX() call comes last. |
43 * i.e., the most specific visitXXX() call comes last. |
44 * |
44 * |
45 * @param v Visitor object |
45 * @param v Visitor object |
46 */ |
46 */ |
47 public void accept(Visitor v) { |
47 @Override |
48 v.visitTypedInstruction(this); |
48 public void accept( final Visitor v ) { |
49 v.visitStackProducer(this); |
49 v.visitTypedInstruction(this); |
50 v.visitStackConsumer(this); |
50 v.visitStackProducer(this); |
51 v.visitArithmeticInstruction(this); |
51 v.visitStackConsumer(this); |
52 v.visitFMUL(this); |
52 v.visitArithmeticInstruction(this); |
53 } |
53 v.visitFMUL(this); |
|
54 } |
54 } |
55 } |