Jandex 3.2.2
Today, we announce the release of Jandex 3.2.2. This release contains several small improvements.
The ClassInfo.canonicalRecordConstructor() method was added.
This method returns a canonical constructor for records as a MethodInfo.
For other kinds of classes, it returns null.
Further, the ClassInfo.unsorted* methods were renamed, because the old name is not exactly intuitive.
The old methods still exist, but are deprecated.
The new methods are:
| Old method | New method |
|---|---|
|
|
|
|
|
|
The javadoc of the fields(), methods() and recordComponents() methods was improved to point out that there is no guaranteed order in their return values.
There is also a link to the *InDeclarationOrder() methods.
If you experience any troubles, or if you have any ideas for Jandex improvements, please file an issue.