Java Static Variable In Methods Machine Builder