public class BinaryIntExpressionHelper extends BinaryExpressionWriter
| Constructor and Description |
|---|
BinaryIntExpressionHelper(WriterController wc) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doubleTwoOperands(org.objectweb.asm.MethodVisitor mv) |
protected MethodCaller |
getArrayGetCaller() |
protected MethodCaller |
getArraySetCaller() |
protected int |
getBitwiseOperationBytecode(int type) |
protected int |
getCompareCode() |
protected ClassNode |
getDevisionOpResultType() |
protected ClassNode |
getNormalOpResultType() |
protected int |
getShiftOperationBytecode(int type) |
protected int |
getStandardOperationBytecode(int type) |
protected void |
removeTwoOperands(org.objectweb.asm.MethodVisitor mv) |
protected boolean |
supportsDivision() |
protected void |
writeMinusMinus(org.objectweb.asm.MethodVisitor mv) |
protected void |
writePlusPlus(org.objectweb.asm.MethodVisitor mv) |
protected boolean |
writeSpaceship(int type,
boolean simulate)
writes the spaceship operator, type should be COMPARE_TO
|
protected boolean |
writeStdCompare(int type,
boolean simulate)
writes a std compare.
|
arrayGet, arraySet, getArrayGetResultType, write, writeBitwiseOp, writeDivision, writePostOrPrefixMethod, writeShiftOp, writeStdOperatorspublic BinaryIntExpressionHelper(WriterController wc)
protected boolean writeStdCompare(int type,
boolean simulate)
writeStdCompare in class BinaryExpressionWritertype - the token typeprotected boolean writeSpaceship(int type,
boolean simulate)
writeSpaceship in class BinaryExpressionWritertype - the token typeprotected void doubleTwoOperands(org.objectweb.asm.MethodVisitor mv)
doubleTwoOperands in class BinaryExpressionWriterprotected MethodCaller getArrayGetCaller()
getArrayGetCaller in class BinaryExpressionWriterprotected MethodCaller getArraySetCaller()
getArraySetCaller in class BinaryExpressionWriterprotected int getBitwiseOperationBytecode(int type)
getBitwiseOperationBytecode in class BinaryExpressionWriterprotected int getCompareCode()
getCompareCode in class BinaryExpressionWriterprotected ClassNode getNormalOpResultType()
getNormalOpResultType in class BinaryExpressionWriterprotected int getShiftOperationBytecode(int type)
getShiftOperationBytecode in class BinaryExpressionWriterprotected int getStandardOperationBytecode(int type)
getStandardOperationBytecode in class BinaryExpressionWriterprotected void removeTwoOperands(org.objectweb.asm.MethodVisitor mv)
removeTwoOperands in class BinaryExpressionWriterprotected void writeMinusMinus(org.objectweb.asm.MethodVisitor mv)
writeMinusMinus in class BinaryExpressionWriterprotected void writePlusPlus(org.objectweb.asm.MethodVisitor mv)
writePlusPlus in class BinaryExpressionWriterprotected ClassNode getDevisionOpResultType()
getDevisionOpResultType in class BinaryExpressionWriterprotected boolean supportsDivision()
supportsDivision in class BinaryExpressionWriter