@Test public void testGetIssues() throws Exception { List<Issue> actual = mCustomIssueRegistry.getIssues(); assertThat(actual).contains(EnumDetector.ISSUE); assertThat(actual).contains(MinSdkDetector.ISSUE); assertThat(actual).contains(TodoDetector.ISSUE); }
@Override public List<Issue> getIssues() { return mIssues; }
CustomIssueRegistry extends IssueRegistry { @Override public List<Issue> getIssues() { return mIssues; } }
CustomIssueRegistry extends IssueRegistry { @Override public List<Issue> getIssues() { return mIssues; } CustomIssueRegistry(); }
CustomIssueRegistry extends IssueRegistry { @Override public List<Issue> getIssues() { return mIssues; } CustomIssueRegistry(); @Override List<Issue> getIssues(); }
CustomIssueRegistry extends IssueRegistry { @Override public List<Issue> getIssues() { return mIssues; } CustomIssueRegistry(); @Override List<Issue> getIssues();  }