Example of reflection with java.