butterknife
butterknife copied to clipboard
New Lint: Unused binding
When a @Bind* field is present but not used anywhere except by the generated view binding.
PMD or Findbugs is sometimes able to detect such fields. Although it isn't really reliable.
It's likely impossible to detect through normal static analysis since the field is referenced both on the constructor and unbinder methods and thus appears used.
The concepts from here could be applied and used when implementing this check.
Maybe @jrodbx is searching for a lint check to write for his talk next week...