public class TernaryExpr extends Expr
| Modifier and Type | Class and Description |
|---|---|
static class |
TernaryExpr.Type |
KEY_END, KEY_JOIN, KEY_JOIN_END, KEY_JOIN_START, KEY_START, mChildren, NO_ID| Modifier and Type | Method and Description |
|---|---|
Expr |
cloneToModel(ExprModel model) |
protected java.lang.String |
computeUniqueKey() |
protected java.util.List<Dependency> |
constructDependencies() |
protected android.databinding.tool.writer.KCode |
generateCode() |
Expr |
generateInverse(ExprModel model,
Expr value,
java.lang.String bindingClassName) |
Expr |
getIfFalse() |
Expr |
getIfTrue() |
java.lang.String |
getInvertibleError() |
Expr |
getPred() |
protected java.util.BitSet |
getPredicateInvalidFlags() |
void |
injectSafeUnboxing(android.databinding.tool.reflection.ModelAnalyzer modelAnalyzer,
ExprModel model)
Called after experiment model is sealed to avoid NPE problems caused by boxed primitives.
|
boolean |
isConditional() |
protected android.databinding.tool.reflection.ModelClass |
resolveType(android.databinding.tool.reflection.ModelAnalyzer modelAnalyzer) |
java.util.List<ExecutionPath> |
toExecutionPath(java.util.List<ExecutionPath> paths) |
java.lang.String |
toString() |
addJustMeToExecutionPath, addLocation, asPackage, assertIsInvertible, canBeEvaluatedToAVariable, canBeInvalidated, cloneToModel, considerElevatingConditionals, constructDynamicChildrenDependencies, enableDirectInvalidation, getAllCalculationPaths, getChildren, getDefaultValue, getDependants, getDependencies, getId, getInvalidFlags, getLocations, getModel, getParents, getReadSoFar, getRequirementFlagIndex, getRequirementId, getResolvedType, getShouldReadFlags, getShouldReadFlagsWithConditionals, getUniqueKey, getUpdateRegistrationCall, getVersion, hasConditionalDependant, hasId, hasNestedCannotRead, invalidateReadFlags, isBindingExpression, isDynamic, isEqualityCheck, isIsUsedInCallback, isObservable, isRead, isUsed, join, join, markAsBindingExpression, markAsReadIfDone, markAsUsed, markAsUsedInCallback, markFlagsAsRead, onSwappedWith, provideScopeLocation, recursivelyInjectSafeUnboxing, resetResolvedType, resolveListeners, resolveTwoWayExpressions, safeUnboxChild, setId, setModel, setRequirementId, setUnwrapObservableFields, shouldReadNow, toCode, toExecutionPath, toExecutionPathInOrder, toExecutionPathInOrder, toFullCode, trimShouldReadFlags, unwrapChildTo, unwrapObservableField, unwrapObservableFieldChildren, updateExprpublic Expr getPred()
public Expr getIfTrue()
public Expr getIfFalse()
protected java.lang.String computeUniqueKey()
computeUniqueKey in class Exprpublic java.lang.String getInvertibleError()
getInvertibleError in class Exprpublic void injectSafeUnboxing(android.databinding.tool.reflection.ModelAnalyzer modelAnalyzer,
ExprModel model)
ExprinjectSafeUnboxing in class Exprprotected android.databinding.tool.reflection.ModelClass resolveType(android.databinding.tool.reflection.ModelAnalyzer modelAnalyzer)
resolveType in class Exprprotected java.util.List<Dependency> constructDependencies()
constructDependencies in class Exprpublic java.util.List<ExecutionPath> toExecutionPath(java.util.List<ExecutionPath> paths)
toExecutionPath in class Exprprotected java.util.BitSet getPredicateInvalidFlags()
getPredicateInvalidFlags in class Exprprotected android.databinding.tool.writer.KCode generateCode()
generateCode in class Exprpublic Expr generateInverse(ExprModel model, Expr value, java.lang.String bindingClassName)
generateInverse in class Exprpublic Expr cloneToModel(ExprModel model)
cloneToModel in class Exprpublic boolean isConditional()
isConditional in class Expr