Skip to content

Java Reflection #138

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

Open
wallymathieu opened this issue Jan 31, 2023 · 0 comments
Open

Java Reflection #138

wallymathieu opened this issue Jan 31, 2023 · 0 comments

Comments

@wallymathieu
Copy link
Owner

wallymathieu commented Jan 31, 2023

It feels like a big important topic for frameworks and generic code in Java land. Reading Jackson source code and seeing the reflection code is interesting.

https://github.com/FasterXML

There is the reflection library:

https://www.baeldung.com/reflections-library

Question is why Jackson and other libraries don't take a dependency on that? One reason could be due to the ergonomics of using it. One other reason could be due to the pain in taking on a dependency (however benign). Another reason could be the cost of switching out a working solution without a clear benefit (if there is a community consensus around reflection libraries then it would be easier). Capturing the needed knowledge that has been caught in reflection based libraries is probably not an easy thing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant