this.hasGlobalName = !(params.getApiName()).equals("");
    protected AlternativeGenerator(        ADT adt,         JavaGenerationParameters params,        Type type,        Alternative alt) {        super(params);        this.adt = adt;        this.type = type;        this.alt = alt;        this.className = className(type.getId(),alt.getId());        this.superClassName = new TypeGenerator(params, type).qualifiedClassName(params, type);        this.traveler = params.getTravelerName();    }