Package org.codehaus.groovy.classgen.asm
Class BinaryDoubleExpressionHelper
- java.lang.Object
- 
- org.codehaus.groovy.classgen.asm.BinaryExpressionWriter
- 
- org.codehaus.groovy.classgen.asm.BinaryLongExpressionHelper
- 
- org.codehaus.groovy.classgen.asm.BinaryDoubleExpressionHelper
 
 
 
- 
 public class BinaryDoubleExpressionHelper extends BinaryLongExpressionHelper 
- 
- 
Field Summary- 
Fields inherited from class org.codehaus.groovy.classgen.asm.BinaryExpressionWriterstdCompareCodes
 
- 
 - 
Constructor SummaryConstructors Constructor Description BinaryDoubleExpressionHelper(WriterController controller)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description protected intgetBitwiseOperationBytecode(int op)protected intgetCompareCode()protected ClassNodegetDevisionOpResultType()protected ClassNodegetNormalOpResultType()protected intgetShiftOperationBytecode(int type)protected intgetStandardOperationBytecode(int type)protected booleansupportsDivision()protected booleanwriteBitwiseOp(int op, boolean simulate)writes some the bitwise operations.protected voidwriteMinusMinus(org.objectweb.asm.MethodVisitor mv)protected voidwritePlusPlus(org.objectweb.asm.MethodVisitor mv)protected booleanwriteShiftOp(int type, boolean simulate)Write shifting operations.- 
Methods inherited from class org.codehaus.groovy.classgen.asm.BinaryLongExpressionHelperdoubleTwoOperands, removeTwoOperands
 - 
Methods inherited from class org.codehaus.groovy.classgen.asm.BinaryExpressionWriterarrayGet, arraySet, getArrayGetCaller, getArrayGetResultType, getArraySetCaller, getController, setArraySetAndGet, write, writeDivision, writePostOrPrefixMethod, writeSpaceship, writeStdCompare, writeStdOperators
 
- 
 
- 
- 
- 
Constructor Detail- 
BinaryDoubleExpressionHelperpublic BinaryDoubleExpressionHelper(WriterController controller) 
 
- 
 - 
Method Detail- 
writeBitwiseOpprotected boolean writeBitwiseOp(int op, boolean simulate)Description copied from class:BinaryExpressionWriterwrites some the bitwise operations. type is one of BITWISE_OR, BITWISE_AND, BITWISE_XOR- Overrides:
- writeBitwiseOpin class- BinaryExpressionWriter
- Parameters:
- op- the token type
- Returns:
- true if a successful bitwise operation write
 
 - 
getBitwiseOperationBytecodeprotected int getBitwiseOperationBytecode(int op) - Overrides:
- getBitwiseOperationBytecodein class- BinaryLongExpressionHelper
 
 - 
getCompareCodeprotected int getCompareCode() - Overrides:
- getCompareCodein class- BinaryLongExpressionHelper
 
 - 
getNormalOpResultTypeprotected ClassNode getNormalOpResultType() - Overrides:
- getNormalOpResultTypein class- BinaryLongExpressionHelper
 
 - 
writeShiftOpprotected boolean writeShiftOp(int type, boolean simulate)Description copied from class:BinaryExpressionWriterWrite shifting operations. Type is one of LEFT_SHIFT, RIGHT_SHIFT, or RIGHT_SHIFT_UNSIGNED- Overrides:
- writeShiftOpin class- BinaryExpressionWriter
- Parameters:
- type- the token type
- Returns:
- true on a successful shift operation write
 
 - 
getShiftOperationBytecodeprotected int getShiftOperationBytecode(int type) - Overrides:
- getShiftOperationBytecodein class- BinaryLongExpressionHelper
 
 - 
getStandardOperationBytecodeprotected int getStandardOperationBytecode(int type) - Overrides:
- getStandardOperationBytecodein class- BinaryLongExpressionHelper
 
 - 
writeMinusMinusprotected void writeMinusMinus(org.objectweb.asm.MethodVisitor mv) - Overrides:
- writeMinusMinusin class- BinaryLongExpressionHelper
 
 - 
writePlusPlusprotected void writePlusPlus(org.objectweb.asm.MethodVisitor mv) - Overrides:
- writePlusPlusin class- BinaryLongExpressionHelper
 
 - 
getDevisionOpResultTypeprotected ClassNode getDevisionOpResultType() - Overrides:
- getDevisionOpResultTypein class- BinaryLongExpressionHelper
 
 - 
supportsDivisionprotected boolean supportsDivision() - Overrides:
- supportsDivisionin class- BinaryLongExpressionHelper
 
 
- 
 
-