Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generic type parameter not analyzed #14

Open
keith-turner opened this issue Apr 10, 2015 · 2 comments
Open

Generic type parameter not analyzed #14

keith-turner opened this issue Apr 10, 2015 · 2 comments

Comments

@keith-turner
Copy link
Member

The following Accumulo method was not detected by APILyzer. This is a method in the public API. Howerver the type IteratorScope is not in the public API. It was not detected because its a Type parameter.

  void attachIterator(String namespace, IteratorSetting setting, EnumSet<IteratorScope> scopes) throws AccumuloException, AccumuloSecurityException,
      NamespaceNotFoundException;
@ctubbsii
Copy link
Member

If possible, would need to check for complicated generics on methods and params like:

  <T extends Comparable<Set<String>>> T registerComparator(Class<T> c, Map<Name, Scopes<? extends ComparableScopes<?>>> s);

@ctubbsii
Copy link
Member

This issue should consider generics in exceptions also. See #5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants