summaryrefslogtreecommitdiff
path: root/compiler/src/main/java/android/databinding/tool/reflection/ModelMethod.java
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/src/main/java/android/databinding/tool/reflection/ModelMethod.java')
-rw-r--r--compiler/src/main/java/android/databinding/tool/reflection/ModelMethod.java7
1 files changed, 7 insertions, 0 deletions
diff --git a/compiler/src/main/java/android/databinding/tool/reflection/ModelMethod.java b/compiler/src/main/java/android/databinding/tool/reflection/ModelMethod.java
index 01500706..5605245a 100644
--- a/compiler/src/main/java/android/databinding/tool/reflection/ModelMethod.java
+++ b/compiler/src/main/java/android/databinding/tool/reflection/ModelMethod.java
@@ -44,6 +44,13 @@ public abstract class ModelMethod {
public abstract boolean isBindable();
/**
+ * @return the Bindable annotation on the method or null if it doesn't exist.
+ */
+ public Bindable getBindableAnnotation() {
+ return null;
+ }
+
+ /**
* Since when this method is available. Important for Binding expressions so that we don't
* call non-existing APIs when setting UI.
*