You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: blog/jandex-3-4-0/index.html
+29-2Lines changed: 29 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -87,8 +87,35 @@ <h1>Jandex 3.4.0</h1>
87
87
Gizmo 2 is an evolution of Gizmo, the bytecode generation framework used in Quarkus.
88
88
Gizmo version 1 used Jandex in its core, but Gizmo version 2 does not.
89
89
Therefore, an integration package is needed.
90
-
This version of Jandex includes one, providing all the necessary methods like <code>classDescOf(org.jboss.jandex.Type)</code> or <code>genericTypeOf(org.jboss.jandex.Type)</code>.
91
-
All integration code is present in <code>static</code> methods of the class <code>Jandex2Gizmo</code>.</p>
90
+
This version of Jandex includes a new module, <code>io.smallrye:jandex-gizmo2</code>, which contains a class called <code>Jandex2Gizmo</code> with these <code>static</code> methods:</p>
91
+
</div>
92
+
<divclass="ulist">
93
+
<ul>
94
+
<li>
95
+
<p><code>classDescOf()</code> to create <code>java.lang.constant.ClassDesc</code></p>
96
+
</li>
97
+
<li>
98
+
<p><code>fieldDescOf()</code> to create <code>io.quarkus.gizmo2.desc.FieldDesc</code></p>
99
+
</li>
100
+
<li>
101
+
<p><code>methodDescOf()</code> to create <code>io.quarkus.gizmo2.desc.MethodDesc</code></p>
102
+
</li>
103
+
<li>
104
+
<p><code>constructorDescOf()</code> to create <code>io.quarkus.gizmo2.desc.ConstructorDesc</code></p>
105
+
</li>
106
+
<li>
107
+
<p><code>genericTypeOf*()</code> to create <code>io.quarkus.gizmo2.GenericType</code> and its subtypes</p>
108
+
</li>
109
+
<li>
110
+
<p><code>typeArgumentOf()</code> to create <code>io.quarkus.gizmo2.TypeArgument</code></p>
111
+
</li>
112
+
<li>
113
+
<p><code>copyTypeParameters()</code> and <code>addTypeParameter()</code></p>
114
+
</li>
115
+
<li>
116
+
<p><code>copyAnnotations()</code> and <code>addAnnotation()</code></p>
117
+
</li>
118
+
</ul>
92
119
</div>
93
120
<divclass="paragraph">
94
121
<p>If you experience any troubles, or if you have any ideas for Jandex improvements, please <ahref="https://github.com/smallrye/jandex/issues">file an issue</a>.</p>
Copy file name to clipboardExpand all lines: feed.xml
+30-3Lines changed: 30 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
<?xml version="1.0" encoding="utf-8"?><feedxmlns="http://www.w3.org/2005/Atom" ><generatoruri="https://jekyllrb.com/"version="4.0.1">Jekyll</generator><linkhref="https://www.smallrye.io/feed.xml"rel="self"type="application/atom+xml" /><linkhref="https://www.smallrye.io/"rel="alternate"type="text/html" /><updated>2025-07-21T08:35:20+00:00</updated><id>https://www.smallrye.io/feed.xml</id><titletype="html">SmallRye</title><subtitle>SmallRye is a project to share and collaborate on implementing specifications that are part of Eclipse MicroProfile.</subtitle><entry><titletype="html">Jandex 3.4.0</title><linkhref="https://www.smallrye.io/blog/jandex-3-4-0/"rel="alternate"type="text/html"title="Jandex 3.4.0" /><published>2025-07-21T08:00:00+00:00</published><updated>2025-07-21T08:00:00+00:00</updated><id>https://www.smallrye.io/blog/jandex-3-4-0</id><contenttype="html"xml:base="https://www.smallrye.io/blog/jandex-3-4-0/"><div class="paragraph">
1
+
<?xml version="1.0" encoding="utf-8"?><feedxmlns="http://www.w3.org/2005/Atom" ><generatoruri="https://jekyllrb.com/"version="4.0.1">Jekyll</generator><linkhref="https://www.smallrye.io/feed.xml"rel="self"type="application/atom+xml" /><linkhref="https://www.smallrye.io/"rel="alternate"type="text/html" /><updated>2025-07-21T10:28:40+00:00</updated><id>https://www.smallrye.io/feed.xml</id><titletype="html">SmallRye</title><subtitle>SmallRye is a project to share and collaborate on implementing specifications that are part of Eclipse MicroProfile.</subtitle><entry><titletype="html">Jandex 3.4.0</title><linkhref="https://www.smallrye.io/blog/jandex-3-4-0/"rel="alternate"type="text/html"title="Jandex 3.4.0" /><published>2025-07-21T08:00:00+00:00</published><updated>2025-07-21T08:00:00+00:00</updated><id>https://www.smallrye.io/blog/jandex-3-4-0</id><contenttype="html"xml:base="https://www.smallrye.io/blog/jandex-3-4-0/"><div class="paragraph">
2
2
<p>Today, we announce the <a href="https://github.com/smallrye/jandex/releases/tag/3.4.0">release</a> of Jandex 3.4.0.
3
3
This release contains one bugfix and one new feature.</p>
4
4
</div>
@@ -11,8 +11,35 @@ This bug is fixed in this release.</p>
11
11
Gizmo 2 is an evolution of Gizmo, the bytecode generation framework used in Quarkus.
12
12
Gizmo version 1 used Jandex in its core, but Gizmo version 2 does not.
13
13
Therefore, an integration package is needed.
14
-
This version of Jandex includes one, providing all the necessary methods like <code>classDescOf(org.jboss.jandex.Type)</code> or <code>genericTypeOf(org.jboss.jandex.Type)</code>.
15
-
All integration code is present in <code>static</code> methods of the class <code>Jandex2Gizmo</code>.</p>
14
+
This version of Jandex includes a new module, <code>io.smallrye:jandex-gizmo2</code>, which contains a class called <code>Jandex2Gizmo</code> with these <code>static</code> methods:</p>
15
+
</div>
16
+
<div class="ulist">
17
+
<ul>
18
+
<li>
19
+
<p><code>classDescOf()</code> to create <code>java.lang.constant.ClassDesc</code></p>
20
+
</li>
21
+
<li>
22
+
<p><code>fieldDescOf()</code> to create <code>io.quarkus.gizmo2.desc.FieldDesc</code></p>
23
+
</li>
24
+
<li>
25
+
<p><code>methodDescOf()</code> to create <code>io.quarkus.gizmo2.desc.MethodDesc</code></p>
26
+
</li>
27
+
<li>
28
+
<p><code>constructorDescOf()</code> to create <code>io.quarkus.gizmo2.desc.ConstructorDesc</code></p>
29
+
</li>
30
+
<li>
31
+
<p><code>genericTypeOf*()</code> to create <code>io.quarkus.gizmo2.GenericType</code> and its subtypes</p>
32
+
</li>
33
+
<li>
34
+
<p><code>typeArgumentOf()</code> to create <code>io.quarkus.gizmo2.TypeArgument</code></p>
35
+
</li>
36
+
<li>
37
+
<p><code>copyTypeParameters()</code> and <code>addTypeParameter()</code></p>
38
+
</li>
39
+
<li>
40
+
<p><code>copyAnnotations()</code> and <code>addAnnotation()</code></p>
41
+
</li>
42
+
</ul>
16
43
</div>
17
44
<div class="paragraph">
18
45
<p>If you experience any troubles, or if you have any ideas for Jandex improvements, please <a href="https://github.com/smallrye/jandex/issues">file an issue</a>.</p>
0 commit comments