Example of using Java Reflection