Skip to content

Commit e9d8df6

Browse files
authored
Merge pull request #128 from Ladicek/jandex-3.5.2
Jandex 3.5.2 release announcement
2 parents 8234512 + 9a32a45 commit e9d8df6

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
:page-layout: post
2+
:page-title: Jandex 3.5.2
3+
:page-synopsis: Jandex 3.5.2 released!
4+
:page-tags: [announcement]
5+
:page-date: 2025-11-12 11:00:00.000 +0100
6+
:page-author: lthon
7+
8+
= Jandex 3.5.2
9+
10+
Today, we announce the https://github.com/smallrye/jandex/releases/tag/3.5.2[release] of Jandex 3.5.2.
11+
This release contains a few small improvements and new features.
12+
13+
A method `ClassInfo.method(MethodInfo)` was added that allows finding a method declared in a given class based on a signature of the given method (which is supposedly declared in another class).
14+
This has already been possible using other overloads of `method()`, but if you already have a `MethodInfo` based on which you want to search, the new method allows that directly.
15+
Thanks Michael Edgar for the pull request!
16+
17+
A method `DotName.startsWith(DotName)` was added that allows figuring out if a dotted name starts with another dotted name.
18+
Note that the prefix determination is not analogous to `String.startsWith()`; instead, it works on the dotted name structure level.
19+
For example, `com.example.FooBar` starts with `com`, `com.example` and `com.example.FooBar`, but it does _not_ start with `com.exam` or `com.example.Foo`.
20+
Thanks Michael Edgar for the issue!
21+
22+
Finally, searching for annotations (internally, `AnnotationInstance.binarySearch()`) was optimized slightly.
23+
If the annotation array is empty or contains just one element, the code answers directly instead of starting the search process.
24+
Thanks Michael Edgar for the issue!
25+
26+
If you experience any troubles, or if you have any ideas for Jandex improvements, please https://github.com/smallrye/jandex/issues[file an issue].

0 commit comments

Comments
 (0)