Package org.codehaus.groovy.classgen.asm
Class BinaryLongExpressionHelper
java.lang.Object
org.codehaus.groovy.classgen.asm.BinaryExpressionWriter
org.codehaus.groovy.classgen.asm.BinaryLongExpressionHelper
- Direct Known Subclasses:
BinaryDoubleExpressionHelper
-
Field Summary
Fields inherited from class org.codehaus.groovy.classgen.asm.BinaryExpressionWriter
stdCompareCodes
-
Constructor Summary
ConstructorDescriptionBinaryLongExpressionHelper
(WriterController controller) BinaryLongExpressionHelper
(WriterController controller, MethodCaller arraySet, MethodCaller arrayGet) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
doubleTwoOperands
(org.objectweb.asm.MethodVisitor mv) protected int
getBitwiseOperationBytecode
(int type) protected int
protected ClassNode
protected ClassNode
protected int
getShiftOperationBytecode
(int type) protected int
getStandardOperationBytecode
(int type) protected void
removeTwoOperands
(org.objectweb.asm.MethodVisitor mv) protected boolean
protected void
writeMinusMinus
(org.objectweb.asm.MethodVisitor mv) protected void
writePlusPlus
(org.objectweb.asm.MethodVisitor mv) Methods inherited from class org.codehaus.groovy.classgen.asm.BinaryExpressionWriter
arrayGet, arraySet, getArrayGetCaller, getArrayGetResultType, getArraySetCaller, getController, setArraySetAndGet, write, writeBitwiseOp, writeDivision, writePostOrPrefixMethod, writeShiftOp, writeSpaceship, writeStdCompare, writeStdOperators
-
Constructor Details
-
BinaryLongExpressionHelper
public BinaryLongExpressionHelper(WriterController controller, MethodCaller arraySet, MethodCaller arrayGet) - Since:
- 2.5.0
-
BinaryLongExpressionHelper
-
-
Method Details
-
doubleTwoOperands
protected void doubleTwoOperands(org.objectweb.asm.MethodVisitor mv) - Specified by:
doubleTwoOperands
in classBinaryExpressionWriter
-
removeTwoOperands
protected void removeTwoOperands(org.objectweb.asm.MethodVisitor mv) - Specified by:
removeTwoOperands
in classBinaryExpressionWriter
-
getBitwiseOperationBytecode
protected int getBitwiseOperationBytecode(int type) - Specified by:
getBitwiseOperationBytecode
in classBinaryExpressionWriter
-
getCompareCode
protected int getCompareCode()- Specified by:
getCompareCode
in classBinaryExpressionWriter
-
getNormalOpResultType
- Specified by:
getNormalOpResultType
in classBinaryExpressionWriter
-
getShiftOperationBytecode
protected int getShiftOperationBytecode(int type) - Specified by:
getShiftOperationBytecode
in classBinaryExpressionWriter
-
getStandardOperationBytecode
protected int getStandardOperationBytecode(int type) - Specified by:
getStandardOperationBytecode
in classBinaryExpressionWriter
-
writeMinusMinus
protected void writeMinusMinus(org.objectweb.asm.MethodVisitor mv) - Specified by:
writeMinusMinus
in classBinaryExpressionWriter
-
writePlusPlus
protected void writePlusPlus(org.objectweb.asm.MethodVisitor mv) - Specified by:
writePlusPlus
in classBinaryExpressionWriter
-
getDevisionOpResultType
- Specified by:
getDevisionOpResultType
in classBinaryExpressionWriter
-
supportsDivision
protected boolean supportsDivision()- Overrides:
supportsDivision
in classBinaryExpressionWriter
-