mozilla-mobile / gradle-apilint

Gradle Plugin that tracks the API of an Android library and helps maintain backward compatibility.
Mozilla Public License 2.0
8 stars 9 forks source link

apilint does not understand nested classes type arguments #69

Open agi90 opened 5 years ago

agi90 commented 5 years ago

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