Groovy 2.2.1

org.codehaus.groovy.classgen.asm
[Java] Class BinaryIntExpressionHelper

java.lang.Object
  org.codehaus.groovy.classgen.asm.BinaryExpressionWriter
      org.codehaus.groovy.classgen.asm.BinaryIntExpressionHelper

public class BinaryIntExpressionHelper
extends BinaryExpressionWriter

Field Summary
 
Fields inherited from class BinaryExpressionWriter
stdCompareCodes
 
Constructor Summary
BinaryIntExpressionHelper(WriterController wc)

 
Method Summary
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 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)

 
Methods inherited from class BinaryExpressionWriter
arrayGet, arraySet, doubleTwoOperands, getArrayGetCaller, getArrayGetResultType, getArraySetCaller, getBitwiseOperationBytecode, getCompareCode, getDevisionOpResultType, getNormalOpResultType, getShiftOperationBytecode, getStandardOperationBytecode, removeTwoOperands, supportsDivision, write, writeBitwiseOp, writeDivision, writeMinusMinus, writePlusPlus, writePostOrPrefixMethod, writeShiftOp, writeSpaceship, writeStdCompare, writeStdOperators
 
Methods inherited from class Object
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll
 

Constructor Detail

BinaryIntExpressionHelper

public BinaryIntExpressionHelper(WriterController wc)


 
Method Detail

doubleTwoOperands

protected void doubleTwoOperands(org.objectweb.asm.MethodVisitor mv)


getArrayGetCaller

protected MethodCaller getArrayGetCaller()


getArraySetCaller

protected MethodCaller getArraySetCaller()


getBitwiseOperationBytecode

protected int getBitwiseOperationBytecode(int type)


getCompareCode

protected int getCompareCode()


getDevisionOpResultType

protected ClassNode getDevisionOpResultType()


getNormalOpResultType

protected ClassNode getNormalOpResultType()


getShiftOperationBytecode

protected int getShiftOperationBytecode(int type)


getStandardOperationBytecode

protected int getStandardOperationBytecode(int type)


removeTwoOperands

protected void removeTwoOperands(org.objectweb.asm.MethodVisitor mv)


writeMinusMinus

protected void writeMinusMinus(org.objectweb.asm.MethodVisitor mv)


writePlusPlus

protected void writePlusPlus(org.objectweb.asm.MethodVisitor mv)


writeSpaceship

protected boolean writeSpaceship(int type, boolean simulate)
writes the spaceship operator, type should be COMPARE_TO
Parameters:
type - the token type
Returns:
true if a successful spaceship operator write


writeStdCompare

protected boolean writeStdCompare(int type, boolean simulate)


 

Copyright © 2003-2013 The Codehaus. All rights reserved.