android.databinding.tool.solver
Class ExecutionPath

java.lang.Object
  extended by android.databinding.tool.solver.ExecutionPath

public class ExecutionPath
extends java.lang.Object

Represents all possible outcomes of an expressions with its branching.


Method Summary
 ExecutionPath addBranch(Expr pred, boolean expectedValue)
           
 ExecutionPath addPath(Expr expr)
           
static ExecutionPath createRoot()
           
 void debug(java.lang.StringBuilder builder, int offset)
           
 java.util.List<ExecutionPath> getChildren()
           
 Expr getExpr()
           
 ExecutionBranch getFalseBranch()
           
 java.util.Map<Expr,java.lang.Boolean> getKnownValues()
           
 ExecutionBranch getTrueBranch()
           
 boolean isAlreadyEvaluated()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

createRoot

public static ExecutionPath createRoot()

addBranch

@Nullable
public ExecutionPath addBranch(Expr pred,
                                        boolean expectedValue)

addPath

@NotNull
public ExecutionPath addPath(@Nullable
                                     Expr expr)

debug

public void debug(java.lang.StringBuilder builder,
                  int offset)

getExpr

@Nullable
public Expr getExpr()

getChildren

@NotNull
public java.util.List<ExecutionPath> getChildren()

getTrueBranch

@Nullable
public ExecutionBranch getTrueBranch()

getFalseBranch

@Nullable
public ExecutionBranch getFalseBranch()

isAlreadyEvaluated

public boolean isAlreadyEvaluated()

getKnownValues

public java.util.Map<Expr,java.lang.Boolean> getKnownValues()