Generating Constructors for the Java Class