Introduction to Java Reflection

preview_player
Показать описание
A brief demonstration of Java reflection API using Java 8. There are many use cases, including boilerplate reduction, serialization and runtime data injection.

Note that, Java 9+ forces certain restrictions on reflection, especially if dealing with multiple modules. In addition, if there is a SecurityManager in place reflective access will be limited.

Рекомендации по теме
Комментарии
Автор

Thank for sharing this, hopefully you continue with more examples

learn
Автор

thank you sir, it was very interesting and helpful

prasadkadu
Автор

I'm trying to modify the string as you explained in video.. But it is throwing inaccessible object exception. Could you please help me out?

aumamaheswari
Автор

Java peeps always describe Reflection as black magic, while in python you kinda stumbled into it. Still it's pretty cool you can really tinker at that level on the JVM now.

mageover
Автор

Hey maybe do a video of javafx with processing library?

tx