Package android.databinding.tool
Class InverseBinding
- java.lang.Object
-
- android.databinding.tool.InverseBinding
-
- All Implemented Interfaces:
android.databinding.tool.processing.scopes.LocationScopeProvider,android.databinding.tool.processing.scopes.ScopeProvider
public class InverseBinding extends java.lang.Object implements android.databinding.tool.processing.scopes.LocationScopeProvider
-
-
Constructor Summary
Constructors Constructor Description InverseBinding(BindingTarget target, java.lang.String name, Expr expr, java.lang.String bindingClassName)InverseBinding(BindingTarget target, java.lang.String name, SetterStore.BindingGetterCall getterCall)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddChainedExpression(FieldAccessExpr expr)java.lang.StringgetBindingAdapterInstanceClass()CallbackExprModelgetCallbackExprModel()java.util.List<FieldAccessExpr>getChainedExpressions()java.lang.StringgetEventAttribute()SetterStore.BindingSetterCallgetEventSetter()ExecutionPathgetExecutionPath()ExprgetExpr()SetterStore.BindingGetterCallgetGetterCall()ExprgetInverseExpr()intgetMinApi()The min api level in which this binding should be executed.ExprModelgetModel()java.lang.StringgetName()BindingTargetgetTarget()IdentifierExprgetVariableExpr()booleanisOnBinder()java.util.List<android.databinding.tool.store.Location>provideScopeLocation()
-
-
-
Constructor Detail
-
InverseBinding
public InverseBinding(BindingTarget target, java.lang.String name, Expr expr, java.lang.String bindingClassName)
-
InverseBinding
public InverseBinding(BindingTarget target, java.lang.String name, SetterStore.BindingGetterCall getterCall)
-
-
Method Detail
-
provideScopeLocation
public java.util.List<android.databinding.tool.store.Location> provideScopeLocation()
- Specified by:
provideScopeLocationin interfaceandroid.databinding.tool.processing.scopes.LocationScopeProvider
-
addChainedExpression
public void addChainedExpression(FieldAccessExpr expr)
-
isOnBinder
public boolean isOnBinder()
-
getGetterCall
public SetterStore.BindingGetterCall getGetterCall()
-
getTarget
public BindingTarget getTarget()
-
getExpr
public Expr getExpr()
-
getInverseExpr
public Expr getInverseExpr()
-
getVariableExpr
public IdentifierExpr getVariableExpr()
-
getExecutionPath
public ExecutionPath getExecutionPath()
-
getCallbackExprModel
public CallbackExprModel getCallbackExprModel()
-
getChainedExpressions
public java.util.List<FieldAccessExpr> getChainedExpressions()
-
getBindingAdapterInstanceClass
public java.lang.String getBindingAdapterInstanceClass()
-
getMinApi
public int getMinApi()
The min api level in which this binding should be executed.This should be the minimum value among the dependencies of this binding.
-
getEventSetter
public SetterStore.BindingSetterCall getEventSetter()
-
getName
public java.lang.String getName()
-
getEventAttribute
public java.lang.String getEventAttribute()
-
getModel
public ExprModel getModel()
-
-