Package org.codehaus.groovy.classgen.asm
Class BinaryBooleanExpressionHelper
java.lang.Object
org.codehaus.groovy.classgen.asm.BinaryExpressionWriter
org.codehaus.groovy.classgen.asm.BinaryIntExpressionHelper
org.codehaus.groovy.classgen.asm.BinaryBooleanExpressionHelper
Binary write operations specialised for Booleans
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
doubleTwoOperands
(org.objectweb.asm.MethodVisitor mv) protected ClassNode
protected ClassNode
protected ClassNode
protected int
getShiftOperationBytecode
(int type) protected int
getStandardOperationBytecode
(int type) protected void
removeTwoOperands
(org.objectweb.asm.MethodVisitor mv) protected boolean
writeDivision
(boolean simulate) protected void
writeMinusMinus
(org.objectweb.asm.MethodVisitor mv) protected void
writePlusPlus
(org.objectweb.asm.MethodVisitor mv) boolean
writePostOrPrefixMethod
(int operation, boolean simulate) protected boolean
writeStdOperators
(int type, boolean simulate) Methods inherited from class org.codehaus.groovy.classgen.asm.BinaryIntExpressionHelper
getBitwiseOperationBytecode, getCompareCode, supportsDivision, writeSpaceship, writeStdCompare
Methods inherited from class org.codehaus.groovy.classgen.asm.BinaryExpressionWriter
arrayGet, arraySet, getArrayGetCaller, getArraySetCaller, getController, setArraySetAndGet, write, writeBitwiseOp, writeShiftOp
-
Constructor Details
-
BinaryBooleanExpressionHelper
-
-
Method Details
-
getArrayGetResultType
- Overrides:
getArrayGetResultType
in classBinaryExpressionWriter
-
writePostOrPrefixMethod
public boolean writePostOrPrefixMethod(int operation, boolean simulate) - Overrides:
writePostOrPrefixMethod
in classBinaryExpressionWriter
-
writeStdOperators
protected boolean writeStdOperators(int type, boolean simulate) - Overrides:
writeStdOperators
in classBinaryExpressionWriter
-
writeDivision
protected boolean writeDivision(boolean simulate) - Overrides:
writeDivision
in classBinaryExpressionWriter
-
getNormalOpResultType
- Overrides:
getNormalOpResultType
in classBinaryIntExpressionHelper
-
getDevisionOpResultType
- Overrides:
getDevisionOpResultType
in classBinaryIntExpressionHelper
-
getShiftOperationBytecode
protected int getShiftOperationBytecode(int type) - Overrides:
getShiftOperationBytecode
in classBinaryIntExpressionHelper
-
getStandardOperationBytecode
protected int getStandardOperationBytecode(int type) - Overrides:
getStandardOperationBytecode
in classBinaryIntExpressionHelper
-
removeTwoOperands
protected void removeTwoOperands(org.objectweb.asm.MethodVisitor mv) - Overrides:
removeTwoOperands
in classBinaryIntExpressionHelper
-
writePlusPlus
protected void writePlusPlus(org.objectweb.asm.MethodVisitor mv) - Overrides:
writePlusPlus
in classBinaryIntExpressionHelper
-
writeMinusMinus
protected void writeMinusMinus(org.objectweb.asm.MethodVisitor mv) - Overrides:
writeMinusMinus
in classBinaryIntExpressionHelper
-
doubleTwoOperands
protected void doubleTwoOperands(org.objectweb.asm.MethodVisitor mv) - Overrides:
doubleTwoOperands
in classBinaryIntExpressionHelper
-