org.codehaus.groovy.classgen.asm
Class BinaryIntExpressionHelper
java.lang.Object
org.codehaus.groovy.classgen.asm.BinaryExpressionHelper
org.codehaus.groovy.classgen.asm.BinaryIntExpressionHelper
public class BinaryIntExpressionHelper
- extends BinaryExpressionHelper
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LEFT_SHIFT
public static final int LEFT_SHIFT
- See Also:
- Constant Field Values
RIGHT_SHIFT
public static final int RIGHT_SHIFT
- See Also:
- Constant Field Values
RIGHT_SHIFT_UNSIGNED
public static final int RIGHT_SHIFT_UNSIGNED
- See Also:
- Constant Field Values
BinaryIntExpressionHelper
public BinaryIntExpressionHelper(WriterController wc)
getType
protected static ClassNode getType(Expression exp,
ClassNode current)
- return the type of an expression, taking meta data into account
isIntOperand
protected static boolean isIntOperand(Expression exp,
ClassNode current)
- Returns:
- true if expression is an evals to an int
evaluateCompareExpression
protected void evaluateCompareExpression(MethodCaller compareMethod,
BinaryExpression binExp)
- Overrides:
evaluateCompareExpression
in class BinaryExpressionHelper
evaluateBinaryExpression
protected void evaluateBinaryExpression(String message,
BinaryExpression binExp)
- Overrides:
evaluateBinaryExpression
in class BinaryExpressionHelper
assignToArray
protected void assignToArray(Expression orig,
Expression receiver,
Expression index,
Expression rhsValueLoader)
- Overrides:
assignToArray
in class BinaryExpressionHelper