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

apilint does not understand nested classes type arguments #69

Open
agi90 opened this issue Jul 26, 2019 · 0 comments
Open

apilint does not understand nested classes type arguments #69

agi90 opened this issue Jul 26, 2019 · 0 comments

Comments

@agi90
Copy link
Contributor

agi90 commented Jul 26, 2019

e.g. something like

public class TestClass<T> {
    public static class TestNestedClass {
        public T getThing();
    }
}

results in:

Error GV7: Class T is not allowed. Allowed packages: test.*.
    in method public T getThing()
    in public class TestClass.TestNestedClass
    in package test
    at line api.txt:16:0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant