Class StaticIdentifierExpr

  • All Implemented Interfaces:
    android.databinding.tool.expr.VersionProvider, android.databinding.tool.processing.scopes.LocationScopeProvider, android.databinding.tool.processing.scopes.ScopeProvider

    public class StaticIdentifierExpr
    extends IdentifierExpr
    • Method Detail

      • isObservable

        public boolean isObservable()
        Overrides:
        isObservable in class Expr
      • isDynamic

        public boolean isDynamic()
        Description copied from class: Expr
        Whether the result of this expression can change or not. For example, 3 + 5 can not change vs 3 + x may change. Default implementations checks children and returns true if any of them returns true
        Overrides:
        isDynamic in class IdentifierExpr
        Returns:
        True if the result of this expression may change due to variables
      • getInvertibleError

        public java.lang.String getInvertibleError()
        Overrides:
        getInvertibleError in class IdentifierExpr
        Returns:
        The reason the expression wasn't invertible or null if it was invertible.