public class ListenerExpr extends Expr
public void onFoo(String str) {...} public void onFoo(int i) {...}
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() |
android.databinding.tool.writer.KCode |
generateCode() |
java.lang.String |
getInvertibleError() |
ModelMethod |
getMethod() |
java.lang.String |
getName() |
Expr |
getTarget() |
void |
injectSafeUnboxing(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.
|
protected ModelClass |
resolveType(ModelAnalyzer modelAnalyzer) |
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, getVersion, hasConditionalDependant, hasId, hasNestedCannotRead, invalidateReadFlags, isBindingExpression, isConditional, 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, toExecutionPath, toExecutionPathInOrder, toExecutionPathInOrder, toFullCode, trimShouldReadFlags, unwrapObservableField, updateExpr
protected ModelClass resolveType(ModelAnalyzer modelAnalyzer)
resolveType
in class Expr
public void injectSafeUnboxing(ModelAnalyzer modelAnalyzer, ExprModel model)
Expr
injectSafeUnboxing
in class Expr
public ModelMethod getMethod()
public Expr getTarget()
public java.lang.String getName()
public boolean isDynamic()
Expr
protected java.util.List<Dependency> constructDependencies()
constructDependencies
in class Expr
protected java.lang.String computeUniqueKey()
computeUniqueKey
in class Expr
public android.databinding.tool.writer.KCode generateCode()
generateCode
in class Expr
public Expr cloneToModel(ExprModel model)
cloneToModel
in class Expr
public java.lang.String getInvertibleError()
getInvertibleError
in class Expr