Set the entire userDefinedTypes list. types is a list of Type objects.
types
static void setUserDefinedTypes(List<Type> types) { UxTraceableElement.setUserDefinedTypes(types); }