this.getValidatorStringForParam(param), type.dim());
Named<?> n = type.getNamed(type.intf());
if (n.isBuiltin()) {
Builtin b = (Builtin) n;
String cn = b.className();
if (n.efqname(this).equals("EtchHashTable")) {
cn += "<EtchObjectPtr, EtchObjectPtr>";
}
if (n.efqname(this).equals("EtchHashSet")) {
cn += "<EtchObjectPtr>";
}
if (n.efqname(this).equals("EtchList")) {
cn += "<EtchObjectPtr>";
}
/*
* int i = cn.indexOf( '<' ); if (i >= 0) cn = cn.substring( 0, i );
*/
return String.format(
"EtchValidatorCustom::Get(runtime, %d, %s::TYPE(), %s, tmpValue);",
type.dim(), cn, b.allowSubclass());
}
// Allow subclassing for etch defined structs and externs.
if (n.isStruct() || n.isExcept()) {