Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add JandexReflection.loadType() #488

Merged
merged 1 commit into from
Feb 3, 2025

Conversation

Ladicek
Copy link
Contributor

@Ladicek Ladicek commented Jan 31, 2025

The loadType() method returns an implementation of java.lang.reflect.Type.
If possible, it is compatible with the JDK implementation, in the sense that
equals() and hashCode() work as expected. Unfortunately, the JDK makes
that impossible if the type contains type variables.

@Ladicek Ladicek added this to the 3.3.0 milestone Jan 31, 2025
@Ladicek Ladicek force-pushed the add-load-reflection-type branch from 8ea7f4d to dca51ff Compare January 31, 2025 14:57
@geoand
Copy link
Contributor

geoand commented Jan 31, 2025

Super useful!

We can certainly use that RESTEasy Reactive!

The `loadType()` method returns an implementation of `java.lang.reflect.Type`.
If possible, it is compatible with the JDK implementation, in the sense that
`equals()` and `hashCode()` work as expected. Unfortunately, the JDK makes
that impossible if the type contains type variables.
@Ladicek Ladicek force-pushed the add-load-reflection-type branch from dca51ff to 79347d9 Compare February 3, 2025 08:35
@Ladicek Ladicek changed the title Add JandexReflection.loadType() and implementations of java.lang.reflect.Type subinterfaces Add JandexReflection.loadType() Feb 3, 2025
@Ladicek Ladicek merged commit 1881085 into smallrye:main Feb 3, 2025
35 checks passed
@Ladicek Ladicek deleted the add-load-reflection-type branch February 3, 2025 08:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants