Groovy 2.2.1

org.codehaus.groovy.classgen.asm.sc
[Java] Class StaticTypesUnaryExpressionHelper

java.lang.Object
  org.codehaus.groovy.classgen.asm.UnaryExpressionHelper
      org.codehaus.groovy.classgen.asm.sc.StaticTypesUnaryExpressionHelper
All Implemented Interfaces:
org.objectweb.asm.Opcodes

public class StaticTypesUnaryExpressionHelper
extends UnaryExpressionHelper

An unary expression helper which generates optimized bytecode depending on the current type on top of the operand stack.

Authors:
Cedric Champeau


Constructor Summary
StaticTypesUnaryExpressionHelper(WriterController controller)

 
Method Summary
void writeBitwiseNegate(BitwiseNegationExpression expression)

void writeNotExpression(NotExpression expression)

void writeUnaryMinus(UnaryMinusExpression expression)

void writeUnaryPlus(UnaryPlusExpression expression)

 
Methods inherited from class UnaryExpressionHelper
writeBitwiseNegate, writeNotExpression, writeUnaryMinus, writeUnaryPlus
 
Methods inherited from class Object
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll
 

Constructor Detail

StaticTypesUnaryExpressionHelper

public StaticTypesUnaryExpressionHelper(WriterController controller)


 
Method Detail

writeBitwiseNegate

@Override
public void writeBitwiseNegate(BitwiseNegationExpression expression)


writeNotExpression

@Override
public void writeNotExpression(NotExpression expression)


writeUnaryMinus

@Override
public void writeUnaryMinus(UnaryMinusExpression expression)


writeUnaryPlus

@Overridepublic void writeUnaryPlus(final UnaryPlusExpression expression) {
public void writeUnaryPlus(UnaryPlusExpression expression)


 

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