apidiff icon indicating copy to clipboard operation
apidiff copied to clipboard

[java] Parse KLASS generic type

Open pingpongboss opened this issue 8 years ago • 1 comments

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

pingpongboss avatar Aug 21 '16 08:08 pingpongboss

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

pingpongboss avatar Oct 26 '16 20:10 pingpongboss