Adding new method for invoking method of a class in a jar file