*/
public ForeignValueNode(Object foreignValue, TypeExpr typeExprParam) {
super(foreignValue, typeExprParam);
TypeConsApp typeConsApp = typeExprParam.rootTypeConsApp();
if (typeConsApp == null || !typeConsApp.usesForeignType()) {
throw new IllegalArgumentException("type expression is not a foreign type: " + typeExprParam);
}
}
/**