Bugs fixed:
- Added method
ClassInfo#getTypeSignatureOrTypeDescriptor()
so that type annotations can be read for non-generic class definitions (#662, thanks to @raner for the request). - Fixed
Illegal reflective access
warning on some obsolete and buggy JVM versions (#663, thanks to @MR6996 for the report).
Two behavioral changes, which may result in breakage for some users:
- The list of interfaces implemented by a class, as returned by
ClassInfo#getInterfaces()
, is no longer sorted by name, but is returned in the order in which the interfaces were specified in the class definition (this order is significant, so the old behavior of sorting by name was incorrect). - The result of
toString()
for several of theTypeSignature
subclasses has changed to use$
as a separator of inner classes, rather than.
, to bring thetoString()
behavior closer to the result ofClass#getName()
.