Package android.databinding.tool.expr
Class MethodBaseExpr
- java.lang.Object
-
- android.databinding.tool.expr.Expr
-
- android.databinding.tool.expr.MethodBaseExpr
-
- All Implemented Interfaces:
android.databinding.tool.expr.VersionProvider,android.databinding.tool.processing.scopes.LocationScopeProvider,android.databinding.tool.processing.scopes.ScopeProvider
- Direct Known Subclasses:
FieldAccessExpr,MethodReferenceExpr
public abstract class MethodBaseExpr extends Expr
-
-
Field Summary
-
Fields inherited from class android.databinding.tool.expr.Expr
KEY_END, KEY_JOIN, KEY_JOIN_END, KEY_JOIN_START, KEY_START, mChildren, NO_ID
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.util.List<Dependency>constructDependencies()java.lang.StringgetName()ExprgetTarget()protected ExprresolveListenersAsMethodReference(android.databinding.tool.reflection.ModelClass listener, Expr parent)java.util.List<ExecutionPath>toExecutionPath(java.util.List<ExecutionPath> paths)voidupdateExpr(android.databinding.tool.reflection.ModelAnalyzer modelAnalyzer)-
Methods inherited from class android.databinding.tool.expr.Expr
addJustMeToExecutionPath, addLocation, asPackage, assertIsInvertible, canBeEvaluatedToAVariable, canBeInvalidated, cloneToModel, cloneToModel, computeUniqueKey, considerElevatingConditionals, constructDynamicChildrenDependencies, enableDirectInvalidation, generateCode, generateInverse, getAllCalculationPaths, getChildren, getDefaultValue, getDependants, getDependencies, getId, getInvalidFlags, getInvertibleError, getLocations, getModel, getParents, getPredicateInvalidFlags, getReadSoFar, getRequirementFlagIndex, getRequirementId, getResolvedType, getShouldReadFlags, getShouldReadFlagsWithConditionals, getUniqueKey, getUpdateRegistrationCall, getVersion, hasConditionalDependant, hasId, hasNestedCannotRead, injectSafeUnboxing, invalidateReadFlags, isBindingExpression, isConditional, isDynamic, isEqualityCheck, isIsUsedInCallback, isObservable, isRead, isUsed, join, join, markAsBindingExpression, markAsReadIfDone, markAsUsed, markAsUsedInCallback, markFlagsAsRead, onSwappedWith, provideScopeLocation, recursivelyInjectSafeUnboxing, resetResolvedType, resolveListeners, resolveTwoWayExpressions, resolveType, safeUnboxChild, setId, setModel, setRequirementId, setUnwrapObservableFields, shouldReadNow, toCode, toExecutionPath, toExecutionPathInOrder, toExecutionPathInOrder, toFullCode, toString, trimShouldReadFlags, unwrapChildTo, unwrapObservableField, unwrapObservableFieldChildren
-
-
-
-
Method Detail
-
getTarget
public Expr getTarget()
-
toExecutionPath
public java.util.List<ExecutionPath> toExecutionPath(java.util.List<ExecutionPath> paths)
- Overrides:
toExecutionPathin classExpr
-
resolveListenersAsMethodReference
protected Expr resolveListenersAsMethodReference(android.databinding.tool.reflection.ModelClass listener, Expr parent)
-
constructDependencies
protected java.util.List<Dependency> constructDependencies()
- Specified by:
constructDependenciesin classExpr
-
getName
public java.lang.String getName()
-
updateExpr
public void updateExpr(android.databinding.tool.reflection.ModelAnalyzer modelAnalyzer)
- Overrides:
updateExprin classExpr
-
-