public class LambdaExpr extends Expr
KEY_END, KEY_JOIN, KEY_JOIN_END, KEY_JOIN_START, KEY_START, mChildren, NO_ID| Constructor and Description |
|---|
LambdaExpr(Expr expr,
CallbackExprModel callbackExprModel) |
| 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() |
java.lang.String |
generateConstructor() |
CallbackExprModel |
getCallbackExprModel() |
int |
getCallbackId() |
CallbackWrapper |
getCallbackWrapper() |
ExecutionPath |
getExecutionPath() |
Expr |
getExpr() |
protected java.lang.String |
getInvertibleError() |
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 |
isDynamic()
Whether the result of this expression can change or not.
|
void |
markAsUsed() |
Expr |
resolveListeners(android.databinding.tool.reflection.ModelClass valueType,
Expr parent) |
protected android.databinding.tool.reflection.ModelClass |
resolveType(android.databinding.tool.reflection.ModelAnalyzer modelAnalyzer) |
void |
setup(android.databinding.tool.reflection.ModelClass klass,
ModelMethod method,
int callbackId) |
java.util.List<ExecutionPath> |
toExecutionPath(java.util.List<ExecutionPath> paths) |
java.lang.String |
toString() |
addJustMeToExecutionPath, addLocation, asPackage, assertIsInvertible, canBeEvaluatedToAVariable, canBeInvalidated, cloneToModel, considerElevatingConditionals, constructDynamicChildrenDependencies, enableDirectInvalidation, generateInverse, getAllCalculationPaths, getChildren, getDefaultValue, getDependants, getDependencies, getId, getInvalidFlags, getLocations, getModel, getParents, getPredicateInvalidFlags, getReadSoFar, getRequirementFlagIndex, getRequirementId, getResolvedType, getShouldReadFlags, getShouldReadFlagsWithConditionals, getUniqueKey, getUpdateRegistrationCall, getVersion, hasConditionalDependant, hasId, hasNestedCannotRead, invalidateReadFlags, isBindingExpression, isConditional, isEqualityCheck, isIsUsedInCallback, isObservable, isRead, isUsed, join, join, markAsBindingExpression, markAsReadIfDone, markAsUsedInCallback, markFlagsAsRead, onSwappedWith, provideScopeLocation, recursivelyInjectSafeUnboxing, resetResolvedType, resolveTwoWayExpressions, safeUnboxChild, setId, setModel, setRequirementId, setUnwrapObservableFields, shouldReadNow, toCode, toExecutionPath, toExecutionPathInOrder, toExecutionPathInOrder, toFullCode, trimShouldReadFlags, unwrapChildTo, unwrapObservableField, unwrapObservableFieldChildren, updateExprpublic LambdaExpr(Expr expr, CallbackExprModel callbackExprModel)
public Expr getExpr()
public CallbackExprModel getCallbackExprModel()
protected 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 CallbackWrapper getCallbackWrapper()
public Expr resolveListeners(android.databinding.tool.reflection.ModelClass valueType, Expr parent)
resolveListeners in class Exprprotected java.lang.String computeUniqueKey()
computeUniqueKey in class Exprpublic boolean isDynamic()
Exprpublic void injectSafeUnboxing(android.databinding.tool.reflection.ModelAnalyzer modelAnalyzer,
ExprModel model)
ExprinjectSafeUnboxing in class Exprprotected android.databinding.tool.writer.KCode generateCode()
generateCode in class Exprpublic Expr cloneToModel(ExprModel model)
cloneToModel in class Exprpublic java.lang.String generateConstructor()
public void markAsUsed()
markAsUsed in class Exprprotected java.lang.String getInvertibleError()
getInvertibleError in class Exprpublic java.util.List<ExecutionPath> toExecutionPath(java.util.List<ExecutionPath> paths)
toExecutionPath in class Exprpublic final ExecutionPath getExecutionPath()
public int getCallbackId()
public void setup(android.databinding.tool.reflection.ModelClass klass,
ModelMethod method,
int callbackId)