package butterknife.lint;

import com.android.tools.lint.client.api.IssueRegistry;
import com.android.tools.lint.detector.api.Issue;
import com.google.common.collect.ImmutableList;
import java.util.List;

/**
 * Contains references to all custom lint checks for butterknife.
 */
public class LintRegistry extends IssueRegistry {

  @Override public List<Issue> getIssues() {
    return ImmutableList.of(InvalidR2UsageDetector.ISSUE);
  }
}

@@ -76,16 +76,66 @@
 gistry;%0A
+import com.android.tools.lint.detector.api.ApiKt;%0A
 import c
@@ -480,11 +480,80 @@
 UE);%0A  %7D
+%0A%0A  @Override public int getApi() %7B%0A    return ApiKt.CURRENT_API;%0A  %7D
 %0A%7D%0A

Update Lint checks to new APIs