Package org.codehaus.groovy.classgen.asm
Class BinaryObjectExpressionHelper
java.lang.Object
org.codehaus.groovy.classgen.asm.BinaryExpressionWriter
org.codehaus.groovy.classgen.asm.BinaryObjectExpressionHelper
-
Field Summary
Fields inherited from class org.codehaus.groovy.classgen.asm.BinaryExpressionWriter
stdCompareCodes
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
doubleTwoOperands
(org.objectweb.asm.MethodVisitor mv) protected ClassNode
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) boolean
write
(int operation, boolean simulate) 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) Methods inherited from class org.codehaus.groovy.classgen.asm.BinaryExpressionWriter
arrayGet, arraySet, getArrayGetCaller, getArraySetCaller, getController, setArraySetAndGet, supportsDivision, writeBitwiseOp, writeShiftOp, writeSpaceship, writeStdCompare, writeStdOperators
-
Constructor Details
-
BinaryObjectExpressionHelper
-
-
Method Details
-
writePostOrPrefixMethod
public boolean writePostOrPrefixMethod(int operation, boolean simulate) - Overrides:
writePostOrPrefixMethod
in classBinaryExpressionWriter
-
write
public boolean write(int operation, boolean simulate) - Overrides:
write
in classBinaryExpressionWriter
-
writeDivision
protected boolean writeDivision(boolean simulate) - Overrides:
writeDivision
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
-
getDevisionOpResultType
- Specified by:
getDevisionOpResultType
in classBinaryExpressionWriter
-
getShiftOperationBytecode
protected int getShiftOperationBytecode(int type) - Specified by:
getShiftOperationBytecode
in classBinaryExpressionWriter
-
getStandardOperationBytecode
protected int getStandardOperationBytecode(int type) - Specified by:
getStandardOperationBytecode
in classBinaryExpressionWriter
-
removeTwoOperands
protected void removeTwoOperands(org.objectweb.asm.MethodVisitor mv) - Specified by:
removeTwoOperands
in classBinaryExpressionWriter
-
writePlusPlus
protected void writePlusPlus(org.objectweb.asm.MethodVisitor mv) - Specified by:
writePlusPlus
in classBinaryExpressionWriter
-
writeMinusMinus
protected void writeMinusMinus(org.objectweb.asm.MethodVisitor mv) - Specified by:
writeMinusMinus
in classBinaryExpressionWriter
-
doubleTwoOperands
protected void doubleTwoOperands(org.objectweb.asm.MethodVisitor mv) - Specified by:
doubleTwoOperands
in classBinaryExpressionWriter
-
getArrayGetResultType
- Overrides:
getArrayGetResultType
in classBinaryExpressionWriter
-