public class BinaryObjectExpressionHelper extends BinaryExpressionWriter
stdCompareCodes
Constructor and Description |
---|
BinaryObjectExpressionHelper(WriterController controller) |
Modifier and Type | Method and Description |
---|---|
protected void |
doubleTwoOperands(org.objectweb.asm.MethodVisitor mv) |
protected MethodCaller |
getArrayGetCaller() |
protected ClassNode |
getArrayGetResultType() |
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) |
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) |
arrayGet, arraySet, supportsDivision, writeBitwiseOp, writeShiftOp, writeSpaceship, writeStdCompare, writeStdOperators
public BinaryObjectExpressionHelper(WriterController controller)
protected MethodCaller getArrayGetCaller()
getArrayGetCaller
in class BinaryExpressionWriter
protected MethodCaller getArraySetCaller()
getArraySetCaller
in class BinaryExpressionWriter
public boolean writePostOrPrefixMethod(int operation, boolean simulate)
writePostOrPrefixMethod
in class BinaryExpressionWriter
public boolean write(int operation, boolean simulate)
write
in class BinaryExpressionWriter
protected boolean writeDivision(boolean simulate)
writeDivision
in class BinaryExpressionWriter
protected int getBitwiseOperationBytecode(int type)
getBitwiseOperationBytecode
in class BinaryExpressionWriter
protected int getCompareCode()
getCompareCode
in class BinaryExpressionWriter
protected ClassNode getNormalOpResultType()
getNormalOpResultType
in class BinaryExpressionWriter
protected ClassNode getDevisionOpResultType()
getDevisionOpResultType
in class BinaryExpressionWriter
protected int getShiftOperationBytecode(int type)
getShiftOperationBytecode
in class BinaryExpressionWriter
protected int getStandardOperationBytecode(int type)
getStandardOperationBytecode
in class BinaryExpressionWriter
protected void removeTwoOperands(org.objectweb.asm.MethodVisitor mv)
removeTwoOperands
in class BinaryExpressionWriter
protected void writePlusPlus(org.objectweb.asm.MethodVisitor mv)
writePlusPlus
in class BinaryExpressionWriter
protected void writeMinusMinus(org.objectweb.asm.MethodVisitor mv)
writeMinusMinus
in class BinaryExpressionWriter
protected void doubleTwoOperands(org.objectweb.asm.MethodVisitor mv)
doubleTwoOperands
in class BinaryExpressionWriter
protected ClassNode getArrayGetResultType()
getArrayGetResultType
in class BinaryExpressionWriter