From aed5e6bee85eacde2c78c48b5292d4c8fa009df2 Mon Sep 17 00:00:00 2001 From: Zac Sweers Date: Sun, 31 Jul 2016 05:51:06 -0700 Subject: [PATCH] Support butter knife 8's BindView annotation Summary: Butter Knife 8 switched from `Bind` to `BindView` Closes https://github.com/facebook/infer/pull/407 Reviewed By: jberdine Differential Revision: D3646737 Pulled By: cristianoc fbshipit-source-id: 167da7b --- infer/src/checkers/annotations.ml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/infer/src/checkers/annotations.ml b/infer/src/checkers/annotations.ml index d325db031..9dd8dc842 100644 --- a/infer/src/checkers/annotations.ml +++ b/infer/src/checkers/annotations.ml @@ -115,6 +115,7 @@ let initializer_ = "Initializer" let inject = "Inject" let inject_view = "InjectView" let bind = "Bind" +let bind_view = "BindView" let bind_array = "BindArray" let bind_bitmap = "BindBitmap" let bind_drawable = "BindDrawable" @@ -167,6 +168,7 @@ let field_injector_readwrite_list = [ inject_view; bind; + bind_view; bind_array; bind_bitmap; bind_drawable;