public class BinaryDoubleExpressionHelper
extends BinaryLongExpressionHelper
Binary expression helper specialized for double operations.
| Fields inherited from class | Fields |
|---|---|
class BinaryExpressionWriter |
stdCompareCodes |
| Constructor and description |
|---|
BinaryDoubleExpressionHelper(WriterController controller)Creates a double-specialized binary expression helper. |
| Type Params | Return Type | Name and description |
|---|---|---|
|
protected int |
getBitwiseOperationBytecode(int op)* * Returns the bitwise opcode for the supplied token. * *
|
|
protected int |
getCompareCode()* *
|
|
protected ClassNode |
getDevisionOpResultType()* *
|
|
protected ClassNode |
getNormalOpResultType()* *
|
|
protected int |
getShiftOperationBytecode(int type)* * Returns the shift opcode for the supplied token. * *
|
|
protected int |
getStandardOperationBytecode(int type)* * Returns the arithmetic opcode for the supplied token. * *
|
|
protected boolean |
supportsDivision()* *
|
|
protected boolean |
writeBitwiseOp(int op, boolean simulate)* writes some the bitwise operations. type is one of BITWISE_OR, * BITWISE_AND, BITWISE_XOR *
|
|
protected void |
writeMinusMinus(org.objectweb.asm.MethodVisitor mv)* * Emits a prefix/postfix decrement. * *
|
|
protected void |
writePlusPlus(org.objectweb.asm.MethodVisitor mv)* * Emits a prefix/postfix increment. * *
|
|
protected boolean |
writeShiftOp(int type, boolean simulate)* Write shifting operations. * Type is one of LEFT_SHIFT, RIGHT_SHIFT, or RIGHT_SHIFT_UNSIGNED * *
|
Creates a double-specialized binary expression helper.
controller - the active writer controller* * Returns the bitwise opcode for the supplied token. * *
type - the normalized token index
** *
* *
* *
* * Returns the shift opcode for the supplied token. * *
type - the normalized token index
** * Returns the arithmetic opcode for the supplied token. * *
type - the normalized token index
** *
* writes some the bitwise operations. type is one of BITWISE_OR, * BITWISE_AND, BITWISE_XOR *
type - the token type
** * Emits a prefix/postfix decrement. * *
mv - the current method visitor* * Emits a prefix/postfix increment. * *
mv - the current method visitor* Write shifting operations. * Type is one of LEFT_SHIFT, RIGHT_SHIFT, or RIGHT_SHIFT_UNSIGNED * *
type - the token type
*Copyright © 2003-2026 The Apache Software Foundation. All rights reserved.