The code that creates the classloader and then loads the class, then grabs the field is repeated a few times, lets reuse it and make it a generic method that can be called 3 times.