public Type getType() {
        if (optional && type.name.equals("path"))
            type.name = "optionalPath";

        return type;
    }
Currently (2012-03-05) not used. Ranges are not checked by the
configgen/src/main/java/com/yahoo/config/codegen/DefLine.java