net.sf.jode.flow
Class CreateExpression

java.lang.Object
  extended by net.sf.jode.flow.CreateExpression

public class CreateExpression
extends Object

This transformation creates expressions. It transforms

  Sequ[expr_1, Sequ[expr_2, ..., Sequ[expr_n, op] ...]] 
 
to
  expr(op, [ expr_1, ..., expr_n ])
 


Constructor Summary
CreateExpression()
           
 
Method Summary
static boolean transform(InstructionContainer ic, StructuredBlock last)
          This does the transformation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CreateExpression

public CreateExpression()
Method Detail

transform

public static boolean transform(InstructionContainer ic,
                                StructuredBlock last)
This does the transformation.

Returns:
true if flow block was simplified.