java. Renamed baseType into discriminatorValue, fixed #195.