apidiff
apidiff copied to clipboard
[java] Parse KLASS generic type
For example:
public class foo.bar.Foo<T extends baz.qux.Bar>
Where signature
should be foo.bar.Foo
, but existing (\S+)
captures foo.bar.Foo<T
Similarly, where signature should be MyClass<T, V>
, only MyClass<T,
is captured.
Example can be generated in https://github.com/material-motion/material-motion-family-rebound-android/ by running
apidiff 232399fc08314b0fbf2d31959c5a625f18911a3d cc4382f0c30ff3a808b1cabd4768ce2ce2e648d8 android library