public class BinaryDoubleExpressionHelper extends BinaryLongExpressionHelper
stdCompareCodes
Constructor and Description |
---|
BinaryDoubleExpressionHelper(WriterController controller) |
Modifier and Type | Method and Description |
---|---|
protected int |
getBitwiseOperationBytecode(int op) |
protected int |
getCompareCode() |
protected ClassNode |
getDevisionOpResultType() |
protected ClassNode |
getNormalOpResultType() |
protected int |
getShiftOperationBytecode(int type) |
protected int |
getStandardOperationBytecode(int type) |
protected boolean |
supportsDivision() |
protected boolean |
writeBitwiseOp(int op,
boolean simulate)
writes some the bitwise operations.
|
protected void |
writeMinusMinus(org.objectweb.asm.MethodVisitor mv) |
protected void |
writePlusPlus(org.objectweb.asm.MethodVisitor mv) |
protected boolean |
writeShiftOp(int type,
boolean simulate)
Write shifting operations.
|
doubleTwoOperands, removeTwoOperands
arrayGet, arraySet, getArrayGetCaller, getArrayGetResultType, getArraySetCaller, getController, setArraySetAndGet, write, writeDivision, writePostOrPrefixMethod, writeSpaceship, writeStdCompare, writeStdOperators
public BinaryDoubleExpressionHelper(WriterController controller)
protected boolean writeBitwiseOp(int op, boolean simulate)
BinaryExpressionWriter
writeBitwiseOp
in class BinaryExpressionWriter
op
- the token typeprotected int getBitwiseOperationBytecode(int op)
getBitwiseOperationBytecode
in class BinaryLongExpressionHelper
protected int getCompareCode()
getCompareCode
in class BinaryLongExpressionHelper
protected ClassNode getNormalOpResultType()
getNormalOpResultType
in class BinaryLongExpressionHelper
protected boolean writeShiftOp(int type, boolean simulate)
BinaryExpressionWriter
writeShiftOp
in class BinaryExpressionWriter
type
- the token typeprotected int getShiftOperationBytecode(int type)
getShiftOperationBytecode
in class BinaryLongExpressionHelper
protected int getStandardOperationBytecode(int type)
getStandardOperationBytecode
in class BinaryLongExpressionHelper
protected void writeMinusMinus(org.objectweb.asm.MethodVisitor mv)
writeMinusMinus
in class BinaryLongExpressionHelper
protected void writePlusPlus(org.objectweb.asm.MethodVisitor mv)
writePlusPlus
in class BinaryLongExpressionHelper
protected ClassNode getDevisionOpResultType()
getDevisionOpResultType
in class BinaryLongExpressionHelper
protected boolean supportsDivision()
supportsDivision
in class BinaryLongExpressionHelper