Higher Order programming through JAVA Reflection