WINDUP-102: Java Legacy rules migrated

Same here, probably should introduce another constructor if "null" is going to be passed frequently.