public class BinaryBooleanExpressionHelper
extends BinaryIntExpressionHelper
Binary write operations specialised for Booleans
| Fields inherited from class | Fields |
|---|---|
class BinaryExpressionWriter |
stdCompareCodes |
| Constructor and description |
|---|
BinaryBooleanExpressionHelper(WriterController wc)Creates a boolean-specialized binary expression helper. |
| Type Params | Return Type | Name and description |
|---|---|---|
|
protected void |
doubleTwoOperands(org.objectweb.asm.MethodVisitor mv)* * Duplicates the two operands already on the operand stack. * *
|
|
protected ClassNode |
getArrayGetResultType()*
|
|
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 void |
removeTwoOperands(org.objectweb.asm.MethodVisitor mv)* * Removes the two operands already on the operand stack. * *
|
|
protected boolean |
writeDivision(boolean simulate)* Writes a division operation for the current primitive type. * *
|
|
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. * *
|
|
public boolean |
writePostOrPrefixMethod(int operation, boolean simulate)* Attempts to write a postfix or prefix increment/decrement operation. * *
|
|
protected boolean |
writeStdOperators(int type, boolean simulate)* Writes a standard arithmetic operator for the current primitive type. * *
|
Creates a boolean-specialized binary expression helper.
wc - the active writer controller* * Duplicates the two operands already on the operand stack. * *
mv - the current method visitor*
* *
* *
* * 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
** * Removes the two operands already on the operand stack. * *
mv - the current method visitor* Writes a division operation for the current primitive type. * *
simulate - whether to probe support without emitting bytecode
*true if division is supported* * Emits a prefix/postfix decrement. * *
mv - the current method visitor* * Emits a prefix/postfix increment. * *
mv - the current method visitor* Attempts to write a postfix or prefix increment/decrement operation. * *
operation - the token type
*simulate - whether to probe support without emitting bytecode
*true if the operation is supported* Writes a standard arithmetic operator for the current primitive type. * *
type - the token type
*simulate - whether to probe support without emitting bytecode
*true if the operation is supportedCopyright © 2003-2026 The Apache Software Foundation. All rights reserved.