Top Fields Constructors Methods
org.codehaus.groovy.classgen.asm

public Class BinaryDoubleExpressionHelper

extends BinaryLongExpressionHelper
Class Inheritance
Imports
org.codehaus.groovy.GroovyBugError, org.codehaus.groovy.ast.ClassHelper, .ClassNode, org.codehaus.groovy.runtime.BytecodeInterface8, org.objectweb.asm.MethodVisitor

Field Summary

Modifier and TypeField and Description
private static final MethodCaller
private static final MethodCaller
private static final int[]

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
protected int
protected int
protected ClassNode
protected ClassNode
protected int
protected int
protected boolean
protected boolean
writeBitwiseOp(int
the token type
op
,
boolean simulate)

Overrides org.codehaus.groovy.classgen.asm.BinaryExpressionWriter.writeBitwiseOp.

writes some the bitwise operations.
protected void
protected void
protected boolean
writeShiftOp(int
the token type
type
,
boolean simulate)

Overrides org.codehaus.groovy.classgen.asm.BinaryExpressionWriter.writeShiftOp.

Write shifting operations.
Inherited from org.codehaus.groovy.classgen.asm.BinaryLongExpressionHelper:
doubleTwoOperandsremoveTwoOperands

Field Detail

doubleArrayGetback to summary
private static final MethodCaller doubleArrayGet
doubleArraySetback to summary
private static final MethodCaller doubleArraySet
stdOperationsback to summary
private static final int[] stdOperations

Hides org.codehaus.groovy.classgen.asm.BinaryLongExpressionHelper.stdOperations.

Constructor Detail

BinaryDoubleExpressionHelperback to summary
public BinaryDoubleExpressionHelper(WriterController controller)

Method Detail

getBitwiseOperationBytecodeback to summary
protected int getBitwiseOperationBytecode(int op)

Overrides org.codehaus.groovy.classgen.asm.BinaryLongExpressionHelper.getBitwiseOperationBytecode.

getCompareCodeback to summary
protected int getCompareCode()

Overrides org.codehaus.groovy.classgen.asm.BinaryLongExpressionHelper.getCompareCode.

getDevisionOpResultTypeback to summary
protected ClassNode getDevisionOpResultType()

Overrides org.codehaus.groovy.classgen.asm.BinaryLongExpressionHelper.getDevisionOpResultType.

getNormalOpResultTypeback to summary
protected ClassNode getNormalOpResultType()

Overrides org.codehaus.groovy.classgen.asm.BinaryLongExpressionHelper.getNormalOpResultType.

getShiftOperationBytecodeback to summary
protected int getShiftOperationBytecode(int type)

Overrides org.codehaus.groovy.classgen.asm.BinaryLongExpressionHelper.getShiftOperationBytecode.

getStandardOperationBytecodeback to summary
protected int getStandardOperationBytecode(int type)

Overrides org.codehaus.groovy.classgen.asm.BinaryLongExpressionHelper.getStandardOperationBytecode.

supportsDivisionback to summary
protected boolean supportsDivision()

Overrides org.codehaus.groovy.classgen.asm.BinaryLongExpressionHelper.supportsDivision.

Annotations
@Override
writeBitwiseOpback to summary
protected boolean writeBitwiseOp(int op, boolean simulate)

Overrides org.codehaus.groovy.classgen.asm.BinaryExpressionWriter.writeBitwiseOp.

Doc from org.codehaus.groovy.classgen.asm.BinaryExpressionWriter.writeBitwiseOp.

writes some the bitwise operations. type is one of BITWISE_OR, BITWISE_AND, BITWISE_XOR

Parameters
op:int

the token type

Returns:boolean

true if a successful bitwise operation write

writeMinusMinusback to summary
protected void writeMinusMinus(MethodVisitor mv)

Overrides org.codehaus.groovy.classgen.asm.BinaryLongExpressionHelper.writeMinusMinus.

writePlusPlusback to summary
protected void writePlusPlus(MethodVisitor mv)

Overrides org.codehaus.groovy.classgen.asm.BinaryLongExpressionHelper.writePlusPlus.

writeShiftOpback to summary
protected boolean writeShiftOp(int type, boolean simulate)

Overrides org.codehaus.groovy.classgen.asm.BinaryExpressionWriter.writeShiftOp.

Doc from org.codehaus.groovy.classgen.asm.BinaryExpressionWriter.writeShiftOp.

Write shifting operations. Type is one of LEFT_SHIFT, RIGHT_SHIFT, or RIGHT_SHIFT_UNSIGNED

Parameters
type:int

the token type

Returns:boolean

true on a successful shift operation write